You are here

public function TokenAuthUser::isLatestTranslationAffectedRevision in Simple OAuth (OAuth2) & OpenID Connect 8

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

Checks whether this is the latest revision affecting this translation.

Return value

bool TRUE if this revision is the latest one affecting the active translation, FALSE otherwise.

Overrides TranslatableRevisionableInterface::isLatestTranslationAffectedRevision

File

src/Authentication/TokenAuthUser.php, line 858

Class

TokenAuthUser
Class TokenAuthUser.

Namespace

Drupal\simple_oauth\Authentication

Code

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