protected function SqlContentEntityStorageSchema::loadFieldSchemaData

protected SqlContentEntityStorageSchema::loadFieldSchemaData(FieldStorageDefinitionInterface $storage_definition)

Loads stored schema data for the given field storage definition.

Parameters

\Drupal\Core\Field\FieldStorageDefinitionInterface $storage_definition: The field storage definition.

Return value

array The field schema data array.

File

core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php, line 809

Class

SqlContentEntityStorageSchema
Defines a schema handler that supports revisionable, translatable entities.

Namespace

Drupal\Core\Entity\Sql

Code

protected function loadFieldSchemaData(FieldStorageDefinitionInterface $storage_definition) {
  return $this->installedStorageSchema()->get($storage_definition->getTargetEntityTypeId() . '.field_schema_data.' . $storage_definition->getName(), array());
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Entity!Sql!SqlContentEntityStorageSchema.php/function/SqlContentEntityStorageSchema::loadFieldSchemaData/8.1.x