function ExportForm::create

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

Overrides FormBase::create

File

core/modules/locale/src/Form/ExportForm.php, line 52

Class

ExportForm
Form for the Gettext translation files export form.

Namespace

Drupal\locale\Form

Code

public static function create(ContainerInterface $container) {
    return new static($container->get('language_manager'), $container->get('file_system'));
}

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