public function TokenAuthUser::getTranslatableFields in Simple OAuth (OAuth2) & OpenID Connect 8
Same name and namespace in other branches
- 8.4 src/Authentication/TokenAuthUser.php \Drupal\simple_oauth\Authentication\TokenAuthUser::getTranslatableFields()
- 8.2 src/Authentication/TokenAuthUser.php \Drupal\simple_oauth\Authentication\TokenAuthUser::getTranslatableFields()
- 8.3 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 521
Class
- TokenAuthUser
- Class TokenAuthUser.
Namespace
Drupal\simple_oauth\AuthenticationCode
public function getTranslatableFields($include_computed = TRUE) {
return $this->subject
->getTranslatableFields($include_computed);
}