public function AllowedLanguagesManagerInterface::accountFromProxy in Allowed Languages 2.x
Get the actual account entity behind the proxy.
Parameters
\Drupal\Core\Session\AccountInterface $account: The account proxy object to use to get the account entity.
Return value
\Drupal\user\UserInterface The account entity behind the proxy.
1 method overrides AllowedLanguagesManagerInterface::accountFromProxy()
- AllowedLanguagesManager::accountFromProxy in src/
AllowedLanguagesManager.php - Get the actual account entity behind the proxy.
File
- src/
AllowedLanguagesManagerInterface.php, line 25
Class
- AllowedLanguagesManagerInterface
- The allowed language manager controls access to content by language.
Namespace
Drupal\allowed_languagesCode
public function accountFromProxy(AccountInterface $account = NULL);