function FieldStorageDefinitionInterface::hasCustomStorage
Same name in other branches
- 9 core/lib/Drupal/Core/Field/FieldStorageDefinitionInterface.php \Drupal\Core\Field\FieldStorageDefinitionInterface::hasCustomStorage()
- 8.9.x core/lib/Drupal/Core/Field/FieldStorageDefinitionInterface.php \Drupal\Core\Field\FieldStorageDefinitionInterface::hasCustomStorage()
- 11.x core/lib/Drupal/Core/Field/FieldStorageDefinitionInterface.php \Drupal\Core\Field\FieldStorageDefinitionInterface::hasCustomStorage()
Returns the storage behavior for this field.
Indicates whether the entity type's storage should take care of storing the field values or whether it is handled separately; e.g. by the module providing the field.
Return value
bool FALSE if the storage takes care of storing the field, TRUE otherwise.
2 methods override FieldStorageDefinitionInterface::hasCustomStorage()
- BaseFieldDefinition::hasCustomStorage in core/
lib/ Drupal/ Core/ Field/ BaseFieldDefinition.php - FieldStorageConfig::hasCustomStorage in core/
modules/ field/ src/ Entity/ FieldStorageConfig.php - Returns the storage behavior for this field.
File
-
core/
lib/ Drupal/ Core/ Field/ FieldStorageDefinitionInterface.php, line 311
Class
- FieldStorageDefinitionInterface
- Defines an interface for entity field storage definitions.
Namespace
Drupal\Core\FieldCode
public function hasCustomStorage();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.