You are here

public function FieldStorageDefinitionInterface::hasCustomStorage in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Field/FieldStorageDefinitionInterface.php \Drupal\Core\Field\FieldStorageDefinitionInterface::hasCustomStorage()
  2. 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.

1 method overrides FieldStorageDefinitionInterface::hasCustomStorage()
BaseFieldDefinition::hasCustomStorage in core/lib/Drupal/Core/Field/BaseFieldDefinition.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\Field

Code

public function hasCustomStorage();