You are here

public function TokenAuthUser::getLoadedRevisionId in Simple OAuth (OAuth2) & OpenID Connect 8.4

Same name and namespace in other branches
  1. 8 src/Authentication/TokenAuthUser.php \Drupal\simple_oauth\Authentication\TokenAuthUser::getLoadedRevisionId()
  2. 8.2 src/Authentication/TokenAuthUser.php \Drupal\simple_oauth\Authentication\TokenAuthUser::getLoadedRevisionId()
  3. 8.3 src/Authentication/TokenAuthUser.php \Drupal\simple_oauth\Authentication\TokenAuthUser::getLoadedRevisionId()
  4. 5.x src/Authentication/TokenAuthUser.php \Drupal\simple_oauth\Authentication\TokenAuthUser::getLoadedRevisionId()

Gets the loaded Revision ID of the entity.

Return value

int The loaded Revision identifier of the entity, or NULL if the entity does not have a revision identifier.

Overrides RevisionableInterface::getLoadedRevisionId

File

src/Authentication/TokenAuthUser.php, line 874

Class

TokenAuthUser
The decorated user class with token information.

Namespace

Drupal\simple_oauth\Authentication

Code

public function getLoadedRevisionId() {
  return $this->subject
    ->getLoadedRevisionId();
}