public function TranslationStatusForm::__construct in Drupal 10
Same name and namespace in other branches
- 8 core/modules/locale/src/Form/TranslationStatusForm.php \Drupal\locale\Form\TranslationStatusForm::__construct()
- 9 core/modules/locale/src/Form/TranslationStatusForm.php \Drupal\locale\Form\TranslationStatusForm::__construct()
Constructs a TranslationStatusForm object.
Parameters
\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: A module handler.
\Drupal\Core\State\StateInterface $state: The state service.
File
- core/
modules/ locale/ src/ Form/ TranslationStatusForm.php, line 51
Class
- TranslationStatusForm
- Provides a translation status form.
Namespace
Drupal\locale\FormCode
public function __construct(ModuleHandlerInterface $module_handler, StateInterface $state) {
$this->moduleHandler = $module_handler;
$this->state = $state;
}