protected SqlContentEntityStorageSchema::addTableDefaults(&$schema)
Adds defaults to a table schema definition.
Parameters
$schema: The schema definition array for a single table, passed by reference.
File
- core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php, line 982
Class
- SqlContentEntityStorageSchema
- Defines a schema handler that supports revisionable, translatable entities.
Namespace
Drupal\Core\Entity\Sql
Code
protected function addTableDefaults(&$schema) { $schema += array( 'fields' => array(), 'unique keys' => array(), 'indexes' => array(), 'foreign keys' => array(), ); }
Please login to continue.