SqlContentEntityStorageSchema::processBaseTable

protected SqlContentEntityStorageSchema::processBaseTable(ContentEntityTypeInterface $entity_type, array &$schema)

Processes the gathered schema for a base table.

Parameters

\Drupal\Core\Entity\ContentEntityTypeInterface $entity_type: The entity type.

array $schema: The table schema, passed by reference.

Return value

array A partial schema array for the base table.

File

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

Class

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

Namespace

Drupal\Core\Entity\Sql

Code

protected function processBaseTable(ContentEntityTypeInterface $entity_type, array &$schema) {
  $this->processIdentifierSchema($schema, $entity_type->getKey('id'));
}
doc_Drupal
2016-10-29 09:43:43
Comments
Leave a Comment

Please login to continue.