function UserStorage::isColumnSerial
Checks whether a field column should be treated as serial.
Parameters
$table_name: The name of the table the field column belongs to.
$schema_name: The schema name of the field column.
Return value
bool TRUE if the column is serial, FALSE otherwise.
Overrides SqlContentEntityStorage::isColumnSerial
File
-
core/
modules/ user/ src/ UserStorage.php, line 33
Class
- UserStorage
- Controller class for users.
Namespace
Drupal\userCode
protected function isColumnSerial($table_name, $schema_name) {
// User storage does not use a serial column for the user id.
return $table_name == $this->revisionTable && $schema_name == $this->revisionKey;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.