Same name and namespace in other branches
  1. 8.x-1.x src/Form/ColorboxSettingsForm.php \Drupal\colorbox\Form\ColorboxSettingsForm::__construct() 1 comment

Class constructor.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The Configuration Factory.

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

\Drupal\Core\Extension\ModuleExtensionList $extension_list_module: The list of available modules.

\Drupal\Core\Asset\LibraryDiscoveryInterface $libraryDiscovery: The library discovery service.

File

src/Form/ColorboxSettingsForm.php, line 61

Class

ColorboxSettingsForm
General configuration form for controlling the colorbox behaviour..

Namespace

Drupal\colorbox\Form

Code

public function __construct(ConfigFactoryInterface $config_factory, ModuleHandlerInterface $moduleHandler, ModuleExtensionList $extension_list_module, LibraryDiscoveryInterface $libraryDiscovery) {
    parent::__construct($config_factory);
    $this->moduleHandler = $moduleHandler;
    $this->extensionListModule = $extension_list_module;
    $this->libraryDiscovery = $libraryDiscovery;
}