You are here

public function CKEditorMediaEmbedSettingsForm::__construct in CKEditor Media Embed Plugin 8

Constructs a \Drupal\system\ConfigFormBase object.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The factory for configuration objects.

\Drupal\Core\Extension\ModuleHandler $module_handler: The module handler.

\Drupal\Core\Routing\UrlGeneratorInterface $url_generator: The URL generator.

\Drupal\Core\Asset\LibraryDiscoveryInterface $library_discovery: The library discovery service to use for retrieving information about the CKeditor library.

Overrides ConfigFormBase::__construct

File

src/Form/CKEditorMediaEmbedSettingsForm.php, line 57

Class

CKEditorMediaEmbedSettingsForm
Class CKEditorMediaEmbedSettingsForm.

Namespace

Drupal\ckeditor_media_embed\Form

Code

public function __construct(ConfigFactoryInterface $config_factory, ModuleHandler $module_handler, UrlGeneratorInterface $url_generator, LibraryDiscoveryInterface $library_discovery) {
  parent::__construct($config_factory);
  $this->urlGenerator = $url_generator;
  $this->moduleHandler = $module_handler;
  $this->libraryDiscovery = $library_discovery;
}