function FieldStorageDefinitionInterface::getColumns

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/Field/FieldStorageDefinitionInterface.php \Drupal\Core\Field\FieldStorageDefinitionInterface::getColumns()
  2. 10 core/lib/Drupal/Core/Field/FieldStorageDefinitionInterface.php \Drupal\Core\Field\FieldStorageDefinitionInterface::getColumns()
  3. 11.x 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();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.