protected SqlContentEntityStorage::isColumnSerial($table_name, $schema_name)
Checks whether a field column should be treated as serial.
$table_name: The name of the table the field column belongs to.
$schema_name: The schema name of the field column.
bool TRUE if the column is serial, FALSE otherwise.
\Drupal\Core\Entity\Sql\SqlContentEntityStorageSchema::processBaseTable()
\Drupal\Core\Entity\Sql\SqlContentEntityStorageSchema::processRevisionTable()
protected function isColumnSerial($table_name, $schema_name) { $result = FALSE; switch ($table_name) { case $this->baseTable: $result = $schema_name == $this->idKey; break; case $this->revisionTable: $result = $schema_name == $this->revisionKey; break; } return $result; }
© 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!SqlContentEntityStorage.php/function/SqlContentEntityStorage::isColumnSerial/8.1.x