HasLabelsInterface
interface HasLabelsInterface
Interface HasLabelsInterface
Methods
static string
getValueLabels(string $propertyConfig, string $propertyValues, string $propertyValue, string $glue = '; ')
Replace all keys with the according labels in the property's value.
static bool
hasLabels(string $propertyConfig)
Return whether the field is configured to use labels.
static array
parseLabeledValues(string $propertyConfig, string $propertyValues)
Parse available field values into an array with key => value pairs.
Details
at line 34
static string
getValueLabels(string $propertyConfig, string $propertyValues, string $propertyValue, string $glue = '; ')
Replace all keys with the according labels in the property's value.
at line 16
static bool
hasLabels(string $propertyConfig)
Return whether the field is configured to use labels.
at line 24
static array
parseLabeledValues(string $propertyConfig, string $propertyValues)
Parse available field values into an array with key => value pairs.