protected function SqlContentEntityStorageSchema::processRevisionTable in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php \Drupal\Core\Entity\Sql\SqlContentEntityStorageSchema::processRevisionTable()
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.
1 call to SqlContentEntityStorageSchema::processRevisionTable()
- SqlContentEntityStorageSchema::getEntitySchema in core/
lib/ Drupal/ Core/ Entity/ Sql/ SqlContentEntityStorageSchema.php - Gets the entity schema for the specified entity type.
File
- core/
lib/ Drupal/ Core/ Entity/ Sql/ SqlContentEntityStorageSchema.php, line 1022 - Contains \Drupal\Core\Entity\Sql\SqlContentEntityStorageSchema.
Class
- SqlContentEntityStorageSchema
- Defines a schema handler that supports revisionable, translatable entities.
Namespace
Drupal\Core\Entity\SqlCode
protected function processRevisionTable(ContentEntityTypeInterface $entity_type, array &$schema) {
$this
->processIdentifierSchema($schema, $entity_type
->getKey('revision'));
}