function ContentLanguageSettingsForm::__construct

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

Constructs an \Drupal\views\Plugin\views\argument_validator\Entity object.

Parameters

\Drupal\Core\Entity\EntityTypeManagerInterface $entityTypeManager: The entity type manager.

\Drupal\Core\Entity\EntityTypeBundleInfoInterface $entityTypeBundleInfo: The entity type bundle info.

\Drupal\Core\Extension\ModuleHandlerInterface $moduleHandler: The module handler.

File

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

Class

ContentLanguageSettingsForm
Configure the content language settings for this site.

Namespace

Drupal\language\Form

Code

public function __construct(protected EntityTypeManagerInterface $entityTypeManager, protected EntityTypeBundleInfoInterface $entityTypeBundleInfo, protected ModuleHandlerInterface $moduleHandler) {
}

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