public function FieldDefinitionInterface::getFieldStorageDefinition in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Field/FieldDefinitionInterface.php \Drupal\Core\Field\FieldDefinitionInterface::getFieldStorageDefinition()
- 9 core/lib/Drupal/Core/Field/FieldDefinitionInterface.php \Drupal\Core\Field\FieldDefinitionInterface::getFieldStorageDefinition()
Returns the field storage definition.
Return value
\Drupal\Core\Field\FieldStorageDefinitionInterface The field storage definition.
7 calls to FieldDefinitionInterface::getFieldStorageDefinition()
- FieldConfigBase::getDefaultValue in core/
lib/ Drupal/ Core/ Field/ FieldConfigBase.php - Returns the default value for the field in a newly created entity.
- FieldConfigBase::getSetting in core/
lib/ Drupal/ Core/ Field/ FieldConfigBase.php - Returns the value of a given setting.
- FieldConfigBase::getSettings in core/
lib/ Drupal/ Core/ Field/ FieldConfigBase.php - Returns the array of settings, as required by the used class.
- FieldConfigBase::isTranslatable in core/
lib/ Drupal/ Core/ Field/ FieldConfigBase.php - Returns whether the field is translatable.
- FieldConfigBase::postCreate in core/
lib/ Drupal/ Core/ Field/ FieldConfigBase.php - Acts on a created entity before hooks are invoked.
2 methods override FieldDefinitionInterface::getFieldStorageDefinition()
- BaseFieldDefinition::getFieldStorageDefinition in core/
lib/ Drupal/ Core/ Field/ BaseFieldDefinition.php - Returns the field storage definition.
- FieldDefinition::getFieldStorageDefinition in core/
lib/ Drupal/ Core/ Field/ FieldDefinition.php - Returns the field storage definition.
File
- core/
lib/ Drupal/ Core/ Field/ FieldDefinitionInterface.php, line 244
Class
- FieldDefinitionInterface
- Defines an interface for entity field definitions.
Namespace
Drupal\Core\FieldCode
public function getFieldStorageDefinition();