function 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 $iframe_url_helper: The iFrame URL helper service.
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.
Overrides ConfigFormBase::__construct
File
- 
              core/modules/ media/ src/ Form/ MediaSettingsForm.php, line 47 
Class
- MediaSettingsForm
- Provides a form to configure Media settings.
Namespace
Drupal\media\FormCode
public function __construct(ConfigFactoryInterface $config_factory, TypedConfigManagerInterface $typedConfigManager, IFrameUrlHelper $iframe_url_helper, EntityTypeManagerInterface $entity_type_manager) {
  parent::__construct($config_factory, $typedConfigManager);
  $this->iFrameUrlHelper = $iframe_url_helper;
  $this->entityTypeManager = $entity_type_manager;
}Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
