You are here

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

Returns the translation support status.

Return value

bool TRUE if the object has translation support enabled.

Overrides TranslatableInterface::isTranslatable

File

src/Authentication/TokenAuthUser.php, line 668

Class

TokenAuthUser
Class TokenAuthUser.

Namespace

Drupal\simple_oauth\Authentication

Code

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