function FieldStorageConfig::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().
Overrides FieldStorageDefinitionInterface::getColumns
File
-
core/
modules/ field/ src/ Entity/ FieldStorageConfig.php, line 516
Class
- FieldStorageConfig
- Defines the Field storage configuration entity.
Namespace
Drupal\field\EntityCode
public function getColumns() {
$schema = $this->getSchema();
return $schema['columns'];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.