You are here

public function FieldStorageDefinitionInterface::hasCustomStorage in Drupal 8

Same name and namespace in other branches
  1. 9 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
Returns the storage behavior for this field.
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 325

Class

FieldStorageDefinitionInterface
Defines an interface for entity field storage definitions.

Namespace

Drupal\Core\Field

Code

public function hasCustomStorage();