public function LanguageFormBase::__construct in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/language/src/Form/LanguageFormBase.php \Drupal\language\Form\LanguageFormBase::__construct()
Constructs a ContentEntityForm object.
Parameters
\Drupal\language\ConfigurableLanguageManagerInterface $language_manager: The configurable language manager.
File
- core/
modules/ language/ src/ Form/ LanguageFormBase.php, line 35 - Contains \Drupal\language\Form\LanguageFormBase.
Class
- LanguageFormBase
- Base form for language add and edit forms.
Namespace
Drupal\language\FormCode
public function __construct(ConfigurableLanguageManagerInterface $language_manager) {
$this->languageManager = $language_manager;
}