You are here

public function FieldDefinition::getFieldStorageDefinition in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Field/FieldDefinition.php \Drupal\Core\Field\FieldDefinition::getFieldStorageDefinition()
  2. 9 core/lib/Drupal/Core/Field/FieldDefinition.php \Drupal\Core\Field\FieldDefinition::getFieldStorageDefinition()

Returns the field storage definition.

Return value

\Drupal\Core\Field\FieldStorageDefinitionInterface The field storage definition.

Overrides FieldDefinitionInterface::getFieldStorageDefinition

8 calls to FieldDefinition::getFieldStorageDefinition()
FieldDefinition::getDefaultValue in core/lib/Drupal/Core/Field/FieldDefinition.php
Returns the default value for the field in a newly created entity.
FieldDefinition::getName in core/lib/Drupal/Core/Field/FieldDefinition.php
Returns the machine name of the field.
FieldDefinition::getSetting in core/lib/Drupal/Core/Field/FieldDefinition.php
Returns the value of a given setting.
FieldDefinition::getSettings in core/lib/Drupal/Core/Field/FieldDefinition.php
Returns the array of settings, as required by the used class.
FieldDefinition::getTargetEntityTypeId in core/lib/Drupal/Core/Field/FieldDefinition.php
Returns the ID of the entity type the field is attached to.

... See full list

File

core/lib/Drupal/Core/Field/FieldDefinition.php, line 265

Class

FieldDefinition
A class for defining entity field definitions.

Namespace

Drupal\Core\Field

Code

public function getFieldStorageDefinition() {
  return $this->fieldStorageDefinition;
}