You are here

public function TokenAuthUser::isDefaultTranslationAffectedOnly 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::isDefaultTranslationAffectedOnly()
  2. 8.3 src/Authentication/TokenAuthUser.php \Drupal\simple_oauth\Authentication\TokenAuthUser::isDefaultTranslationAffectedOnly()
  3. 5.x src/Authentication/TokenAuthUser.php \Drupal\simple_oauth\Authentication\TokenAuthUser::isDefaultTranslationAffectedOnly()

Checks if untranslatable fields should affect only the default translation.

Return value

bool TRUE if untranslatable fields should affect only the default translation, FALSE otherwise.

Overrides TranslatableRevisionableInterface::isDefaultTranslationAffectedOnly

File

src/Authentication/TokenAuthUser.php, line 879

Class

TokenAuthUser
Class TokenAuthUser.

Namespace

Drupal\simple_oauth\Authentication

Code

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