protected function YamlFormElementBase::getConfigurationFormProperty in YAML Form 8
Get configuration property value.
Parameters
array $properties: An associative array of submitted properties.
string $property_name: The property's name.
mixed $property_value: The property's value.
array $element: The element whose properties are being updated.
2 calls to YamlFormElementBase::getConfigurationFormProperty()
- ProcessedText::getConfigurationFormProperty in src/
Plugin/ YamlFormElement/ ProcessedText.php - Get configuration property value.
- YamlFormElementBase::getConfigurationFormProperties in src/
YamlFormElementBase.php - Get an associative array of element properties from configuration form.
1 method overrides YamlFormElementBase::getConfigurationFormProperty()
- ProcessedText::getConfigurationFormProperty in src/
Plugin/ YamlFormElement/ ProcessedText.php - Get configuration property value.
File
- src/
YamlFormElementBase.php, line 1477
Class
- YamlFormElementBase
- Provides a base class for a form element.
Namespace
Drupal\yamlformCode
protected function getConfigurationFormProperty(array &$properties, $property_name, $property_value, array $element) {
if ($property_name == 'default_value' && is_string($property_value) && $this
->hasMultipleValues($element)) {
$properties[$property_name] = preg_split('/\\s*,\\s*/', $property_value);
}
}