function TranslationStatusForm::create

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

Overrides FormBase::create

File

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

Class

TranslationStatusForm
Provides a translation status form.

Namespace

Drupal\locale\Form

Code

public static function create(ContainerInterface $container) {
    return new static($container->get('module_handler'), $container->get('state'), $container->get('datetime.time'));
}

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