You are here

protected function UserStorageSchema::processIdentifierSchema in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/user/src/UserStorageSchema.php \Drupal\user\UserStorageSchema::processIdentifierSchema()

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 35
Contains \Drupal\user\UserStorageSchema.

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);
  }
}