protected function OptionsEmailItem::getOptionsAllowedValues in Contact Storage 8
Returns the array of allowed values for the Options email field.
Return value
array An array of allowed values entered by the user, for the Options email field.
1 call to OptionsEmailItem::getOptionsAllowedValues()
- OptionsEmailItem::getSettableOptions in src/
Plugin/ Field/ FieldType/ OptionsEmailItem.php - Returns an array of settable values with labels for display.
File
- src/
Plugin/ Field/ FieldType/ OptionsEmailItem.php, line 155
Class
- OptionsEmailItem
- Plugin to add the Option email item custom field type.
Namespace
Drupal\contact_storage\Plugin\Field\FieldTypeCode
protected function getOptionsAllowedValues() {
return options_allowed_values($this
->getFieldDefinition()
->getFieldStorageDefinition(), $this
->getEntity());
}