protected function SqlContentEntityStorageSchema::loadEntitySchemaData

protected SqlContentEntityStorageSchema::loadEntitySchemaData(EntityTypeInterface $entity_type)

Loads stored schema data for the given entity type definition.

Parameters

\Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type definition.

Return value

array The entity schema data array.

File

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

Class

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

Namespace

Drupal\Core\Entity\Sql

Code

protected function loadEntitySchemaData(EntityTypeInterface $entity_type) {
  return $this->installedStorageSchema()->get($entity_type->id() . '.entity_schema_data', 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::loadEntitySchemaData/8.1.x