function TranslationStatusForm::__construct

Same name and namespace in other branches
  1. 10 core/modules/locale/src/Form/TranslationStatusForm.php \Drupal\locale\Form\TranslationStatusForm::__construct()
  2. 11.x core/modules/locale/src/Form/TranslationStatusForm.php \Drupal\locale\Form\TranslationStatusForm::__construct()
  3. 9 core/modules/locale/src/Form/TranslationStatusForm.php \Drupal\locale\Form\TranslationStatusForm::__construct()
  4. 8.9.x core/modules/locale/src/Form/TranslationStatusForm.php \Drupal\locale\Form\TranslationStatusForm::__construct()

Constructs a TranslationStatusForm object.

Parameters

\Drupal\Core\Extension\ModuleHandlerInterface $moduleHandler: A module handler.

\Drupal\Core\State\StateInterface $state: The state service.

\Drupal\Component\Datetime\TimeInterface $time: The time service.

File

core/modules/locale/src/Form/TranslationStatusForm.php, line 42

Class

TranslationStatusForm
Provides a translation status form.

Namespace

Drupal\locale\Form

Code

public function __construct(protected ModuleHandlerInterface $moduleHandler, protected StateInterface $state, protected TimeInterface $time) {
}

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