protected function WebformElementBase::getConfigurationFormProperty in Webform 8.5
Same name and namespace in other branches
- 6.x src/Plugin/WebformElementBase.php \Drupal\webform\Plugin\WebformElementBase::getConfigurationFormProperty()
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 WebformElementBase::getConfigurationFormProperty()
- ProcessedText::getConfigurationFormProperty in src/
Plugin/ WebformElement/ ProcessedText.php - Get configuration property value.
- WebformElementBase::getConfigurationFormProperties in src/
Plugin/ WebformElementBase.php - Get an associative array of element properties from configuration webform.
1 method overrides WebformElementBase::getConfigurationFormProperty()
- ProcessedText::getConfigurationFormProperty in src/
Plugin/ WebformElement/ ProcessedText.php - Get configuration property value.
File
- src/
Plugin/ WebformElementBase.php, line 3788
Class
- WebformElementBase
- Provides a base class for a webform element.
Namespace
Drupal\webform\PluginCode
protected function getConfigurationFormProperty(array &$properties, $property_name, $property_value, array $element) {
if ($property_name === 'default_value' && is_string($property_value) && $property_value && $this
->hasMultipleValues($element)) {
$properties[$property_name] = preg_split('/\\s*,\\s*/', $property_value);
}
}