function UserStorageSchema::processIdentifierSchema

Overrides SqlContentEntityStorageSchema::processIdentifierSchema

File

core/modules/user/src/UserStorageSchema.php, line 32

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.