protected function UserStorageSchema::processIdentifierSchema in Drupal 8
Processes the specified entity key.
Parameters
array $schema: The table schema, passed by reference.
string $key: The entity key name.
Overrides SqlContentEntityStorageSchema::processIdentifierSchema
File
- core/
modules/ user/ src/ UserStorageSchema.php, line 32
Class
- UserStorageSchema
- Defines the user schema handler.
Namespace
Drupal\userCode
protected function processIdentifierSchema(&$schema, $key) {
// The "users" table does not use serial identifiers.
if ($key != $this->entityType
->getKey('id')) {
parent::processIdentifierSchema($schema, $key);
}
}