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());
}
doc_Drupal
2016-10-29 09:43:41
Comments
Leave a Comment

Please login to continue.