function ContentLanguageSettingsForm::create

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

Overrides FormBase::create

File

core/modules/language/src/Form/ContentLanguageSettingsForm.php, line 68

Class

ContentLanguageSettingsForm
Configure the content language settings for this site.

Namespace

Drupal\language\Form

Code

public static function create(ContainerInterface $container) {
    return new static($container->get('entity_type.manager'), $container->get('entity_type.bundle.info'), $container->get('module_handler'));
}

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