protected static function Dropdown::validateAllowedValue in Open Social 8.9
Same name and namespace in other branches
- 8 modules/custom/dropdown/src/Plugin/Field/FieldType/Dropdown.php \Drupal\dropdown\Plugin\Field\FieldType\Dropdown::validateAllowedValue()
- 8.2 modules/custom/dropdown/src/Plugin/Field/FieldType/Dropdown.php \Drupal\dropdown\Plugin\Field\FieldType\Dropdown::validateAllowedValue()
- 8.3 modules/custom/dropdown/src/Plugin/Field/FieldType/Dropdown.php \Drupal\dropdown\Plugin\Field\FieldType\Dropdown::validateAllowedValue()
- 8.4 modules/custom/dropdown/src/Plugin/Field/FieldType/Dropdown.php \Drupal\dropdown\Plugin\Field\FieldType\Dropdown::validateAllowedValue()
- 8.5 modules/custom/dropdown/src/Plugin/Field/FieldType/Dropdown.php \Drupal\dropdown\Plugin\Field\FieldType\Dropdown::validateAllowedValue()
- 8.6 modules/custom/dropdown/src/Plugin/Field/FieldType/Dropdown.php \Drupal\dropdown\Plugin\Field\FieldType\Dropdown::validateAllowedValue()
- 8.7 modules/custom/dropdown/src/Plugin/Field/FieldType/Dropdown.php \Drupal\dropdown\Plugin\Field\FieldType\Dropdown::validateAllowedValue()
- 8.8 modules/custom/dropdown/src/Plugin/Field/FieldType/Dropdown.php \Drupal\dropdown\Plugin\Field\FieldType\Dropdown::validateAllowedValue()
- 10.3.x modules/custom/dropdown/src/Plugin/Field/FieldType/Dropdown.php \Drupal\dropdown\Plugin\Field\FieldType\Dropdown::validateAllowedValue()
- 10.0.x modules/custom/dropdown/src/Plugin/Field/FieldType/Dropdown.php \Drupal\dropdown\Plugin\Field\FieldType\Dropdown::validateAllowedValue()
- 10.1.x modules/custom/dropdown/src/Plugin/Field/FieldType/Dropdown.php \Drupal\dropdown\Plugin\Field\FieldType\Dropdown::validateAllowedValue()
- 10.2.x modules/custom/dropdown/src/Plugin/Field/FieldType/Dropdown.php \Drupal\dropdown\Plugin\Field\FieldType\Dropdown::validateAllowedValue()
Checks whether a candidate allowed value is valid.
Parameters
string $option: The option value entered by the user.
1 call to Dropdown::validateAllowedValue()
- Dropdown::validateAllowedValues in modules/
custom/ dropdown/ src/ Plugin/ Field/ FieldType/ Dropdown.php - Element_validate callback for options field allowed values.
File
- modules/
custom/ dropdown/ src/ Plugin/ Field/ FieldType/ Dropdown.php, line 213
Class
- Dropdown
- Plugin implementation of the 'dropdown' field type.
Namespace
Drupal\dropdown\Plugin\Field\FieldTypeCode
protected static function validateAllowedValue($option) {
}