LanguageNegotiatorInterface::setCurrentUser

public LanguageNegotiatorInterface::setCurrentUser(AccountInterface $current_user)

Sets the current active user and resets all language types.

Parameters

\Drupal\Core\Session\AccountInterface $current_user: The current active user.

File

core/modules/language/src/LanguageNegotiatorInterface.php, line 118

Class

LanguageNegotiatorInterface
Common interface for language negotiation services.

Namespace

Drupal\language

Code

public function setCurrentUser(AccountInterface $current_user);
doc_Drupal
2016-10-29 09:22:56
Comments
Leave a Comment

Please login to continue.