function TranslateFormBase::create
Same name in other branches
- 9 core/modules/locale/src/Form/TranslateFormBase.php \Drupal\locale\Form\TranslateFormBase::create()
- 8.9.x core/modules/locale/src/Form/TranslateFormBase.php \Drupal\locale\Form\TranslateFormBase::create()
- 10 core/modules/locale/src/Form/TranslateFormBase.php \Drupal\locale\Form\TranslateFormBase::create()
Overrides FormBase::create
File
-
core/
modules/ locale/ src/ Form/ TranslateFormBase.php, line 65
Class
- TranslateFormBase
- Defines the locale user interface translation form base.
Namespace
Drupal\locale\FormCode
public static function create(ContainerInterface $container) {
return new static($container->get('locale.storage'), $container->get('state'), $container->get('language_manager'));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.