Same name and namespace in other branches
  1. 8.9.x core/lib/Drupal/Core/Field/FieldTypePluginManagerInterface.php \Drupal\Core\Field\FieldTypePluginManagerInterface::getUiDefinitions()
  2. 9 core/lib/Drupal/Core/Field/FieldTypePluginManagerInterface.php \Drupal\Core\Field\FieldTypePluginManagerInterface::getUiDefinitions()

Gets the definition of all field types that can be added via UI.

If the field type extends \Drupal\Core\Field\PreconfiguredFieldUiOptionsInterface, then include the preconfigured definitions. The key is 'field_ui', the base field name, and the key from getPreconfiguredOptions(), joined with ':'.

Return value

array An array of field type definitions.

File

core/lib/Drupal/Core/Field/FieldTypePluginManagerInterface.php, line 114

Class

FieldTypePluginManagerInterface
Defines an interface for the field type plugin manager.

Namespace

Drupal\Core\Field

Code

public function getUiDefinitions();