function LanguageFormBase::create

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

Overrides FormBase::create

File

core/modules/language/src/Form/LanguageFormBase.php, line 37

Class

LanguageFormBase
Base form for language add and edit forms.

Namespace

Drupal\language\Form

Code

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

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