LanguageNegotiationMethodInterface::persist

public LanguageNegotiationMethodInterface::persist(LanguageInterface $language)

Notifies the plugin that the language code it returned has been accepted.

Parameters

\Drupal\Core\Language\LanguageInterface $language: The accepted language.

File

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

Class

LanguageNegotiationMethodInterface
Interface for language negotiation classes.

Namespace

Drupal\language

Code

public function persist(LanguageInterface $language);
doc_Drupal
2016-10-29 09:22:48
Comments
Leave a Comment

Please login to continue.