public LanguageDefault::set(LanguageInterface $language)
Sets the default language.
Parameters
\Drupal\Core\Language\LanguageInterface $language: The default language.
File
- core/lib/Drupal/Core/Language/LanguageDefault.php, line 50
Class
- LanguageDefault
- Provides a simple get and set wrapper to the default language object.
Namespace
Drupal\Core\Language
Code
public function set(LanguageInterface $language) { $this->language = $language; }
Please login to continue.