public function TokenAuthUser::getTranslatableFields in Simple OAuth (OAuth2) & OpenID Connect 8.3
Same name and namespace in other branches
- 8.4 src/Authentication/TokenAuthUser.php \Drupal\simple_oauth\Authentication\TokenAuthUser::getTranslatableFields()
- 8 src/Authentication/TokenAuthUser.php \Drupal\simple_oauth\Authentication\TokenAuthUser::getTranslatableFields()
- 8.2 src/Authentication/TokenAuthUser.php \Drupal\simple_oauth\Authentication\TokenAuthUser::getTranslatableFields()
- 5.x src/Authentication/TokenAuthUser.php \Drupal\simple_oauth\Authentication\TokenAuthUser::getTranslatableFields()
Gets an array of field item lists for translatable fields.
Parameters
bool $include_computed: If set to TRUE, computed fields are included. Defaults to TRUE.
Return value
\Drupal\Core\Field\FieldItemListInterface[] An array of field item lists implementing, keyed by field name.
Overrides FieldableEntityInterface::getTranslatableFields
File
- src/
Authentication/ TokenAuthUser.php, line 566
Class
- TokenAuthUser
- The decorated user class with token information.
Namespace
Drupal\simple_oauth\AuthenticationCode
public function getTranslatableFields($include_computed = TRUE) {
return $this->subject
->getTranslatableFields($include_computed);
}