function LanguageNegotiationMethodBase::persist

Same name and namespace in other branches
  1. 10 core/modules/language/src/LanguageNegotiationMethodBase.php \Drupal\language\LanguageNegotiationMethodBase::persist()
  2. 11.x core/modules/language/src/LanguageNegotiationMethodBase.php \Drupal\language\LanguageNegotiationMethodBase::persist()
  3. 9 core/modules/language/src/LanguageNegotiationMethodBase.php \Drupal\language\LanguageNegotiationMethodBase::persist()

File

core/modules/language/src/LanguageNegotiationMethodBase.php, line 59

Class

LanguageNegotiationMethodBase
Base class for language negotiation methods.

Namespace

Drupal\language

Code

public function persist(LanguageInterface $language) {
  // Default implementation persists nothing.
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.