UserStorageSchema::processIdentifierSchema

protected UserStorageSchema::processIdentifierSchema(&$schema, $key)

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 30

Class

UserStorageSchema
Defines the user schema handler.

Namespace

Drupal\user

Code

protected function processIdentifierSchema(&$schema, $key) {
  // The "users" table does not use serial identifiers.
  if ($key != $this->entityType->getKey('id')) {
    parent::processIdentifierSchema($schema, $key);
  }
}
doc_Drupal
2016-10-29 09:53:12
Comments
Leave a Comment

Please login to continue.