public function FieldStorageDefinitionInterface::getType in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Field/FieldStorageDefinitionInterface.php \Drupal\Core\Field\FieldStorageDefinitionInterface::getType()
- 9 core/lib/Drupal/Core/Field/FieldStorageDefinitionInterface.php \Drupal\Core\Field\FieldStorageDefinitionInterface::getType()
Returns the field type.
Return value
string The field type, i.e. the id of a field type plugin. For example 'text'.
See also
\Drupal\Core\Field\FieldTypePluginManagerInterface
1 method overrides FieldStorageDefinitionInterface::getType()
- FieldStorageConfigInterface::getType in core/
modules/ field/ src/ FieldStorageConfigInterface.php - Returns the field type.
File
- core/
lib/ Drupal/ Core/ Field/ FieldStorageDefinitionInterface.php, line 52
Class
- FieldStorageDefinitionInterface
- Defines an interface for entity field storage definitions.
Namespace
Drupal\Core\FieldCode
public function getType();