PreconfiguredFieldUiOptionsInterface
interface PreconfiguredFieldUiOptionsInterface (View source)
Defines an interface for exposing "preconfigured" field definitions.
These field definitions will be exposed as additional options in the 'Add field' form in Field UI, together with individual field types.
Methods
static array[]
getPreconfiguredOptions()
Returns preconfigured field options for a field type.
Details
static array[]
getPreconfiguredOptions()
Returns preconfigured field options for a field type.
Note that if you want to give modules an opportunity to alter the result of this method, you should call \Drupal\Core\Field\FieldTypePluginManagerInterface::getPreconfiguredOptions() instead.