function 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();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.