You are here

public function TokenAuthUser::isRevisionTranslationAffectedEnforced in Simple OAuth (OAuth2) & OpenID Connect 8.3

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

Checks if the revision translation affected flag value has been enforced.

@internal

Return value

bool TRUE if revision translation affected flag is enforced, FALSE otherwise.

Overrides TranslatableRevisionableInterface::isRevisionTranslationAffectedEnforced

File

src/Authentication/TokenAuthUser.php, line 909

Class

TokenAuthUser
The decorated user class with token information.

Namespace

Drupal\simple_oauth\Authentication

Code

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