function MediaSettingsForm::__construct
Same name and namespace in other branches
- 10 core/modules/media/src/Form/MediaSettingsForm.php \Drupal\media\Form\MediaSettingsForm::__construct()
- 11.x core/modules/media/src/Form/MediaSettingsForm.php \Drupal\media\Form\MediaSettingsForm::__construct()
- 9 core/modules/media/src/Form/MediaSettingsForm.php \Drupal\media\Form\MediaSettingsForm::__construct()
- 8.9.x core/modules/media/src/Form/MediaSettingsForm.php \Drupal\media\Form\MediaSettingsForm::__construct()
MediaSettingsForm constructor.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory service.
\Drupal\Core\Config\TypedConfigManagerInterface $typedConfigManager: The typed config manager.
\Drupal\media\IFrameUrlHelper $iFrameUrlHelper: The iFrame URL helper service.
\Drupal\Core\Entity\EntityTypeManagerInterface $entityTypeManager: The entity type manager.
Overrides ConfigFormBase::__construct
File
-
core/
modules/ media/ src/ Form/ MediaSettingsForm.php, line 33
Class
- MediaSettingsForm
- Provides a form to configure Media settings.
Namespace
Drupal\media\FormCode
public function __construct(ConfigFactoryInterface $config_factory, TypedConfigManagerInterface $typedConfigManager, protected IFrameUrlHelper $iFrameUrlHelper, protected EntityTypeManagerInterface $entityTypeManager) {
parent::__construct($config_factory, $typedConfigManager);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.