protected SqlContentEntityStorageSchema::processDataTable(ContentEntityTypeInterface $entity_type, array &$schema)
Processes the gathered schema for a base table.
\Drupal\Core\Entity\ContentEntityTypeInterface $entity_type: The entity type.
array $schema: The table schema, passed by reference.
array A partial schema array for the base table.
protected function processDataTable(ContentEntityTypeInterface $entity_type, array &$schema) { // Marking the respective fields as NOT NULL makes the indexes more // performant. $schema['fields'][$entity_type->getKey('default_langcode')]['not null'] = TRUE; }
© 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::processDataTable/8.1.x