You are here

public function FieldStorageDefinitionInterface::getColumns in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Field/FieldStorageDefinitionInterface.php \Drupal\Core\Field\FieldStorageDefinitionInterface::getColumns()

Returns the field columns, as defined in the field schema.

Return value

array[] The array of field columns, keyed by column name, in the same format returned by getSchema().

See also

\Drupal\Core\Field\FieldStorageDefinitionInterface::getSchema()

2 methods override FieldStorageDefinitionInterface::getColumns()
BaseFieldDefinition::getColumns in core/lib/Drupal/Core/Field/BaseFieldDefinition.php
Returns the field columns, as defined in the field schema.
FieldStorageConfig::getColumns in core/modules/field/src/Entity/FieldStorageConfig.php
Returns the field columns, as defined in the field schema.

File

core/lib/Drupal/Core/Field/FieldStorageDefinitionInterface.php, line 259

Class

FieldStorageDefinitionInterface
Defines an interface for entity field storage definitions.

Namespace

Drupal\Core\Field

Code

public function getColumns();