LanguageNegotiationMethodInterface::setCurrentUser

public LanguageNegotiationMethodInterface::setCurrentUser(AccountInterface $current_user)

Injects the current user.

Parameters

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

File

core/modules/language/src/LanguageNegotiationMethodInterface.php, line 38

Class

LanguageNegotiationMethodInterface
Interface for language negotiation classes.

Namespace

Drupal\language

Code

1
public function setCurrentUser(AccountInterface $current_user);
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.