public function NgLightboxSettingsForm::__construct in NG Lightbox 8
Same name and namespace in other branches
- 2.x src/Form/NgLightboxSettingsForm.php \Drupal\ng_lightbox\Form\NgLightboxSettingsForm::__construct()
Constructs a \Drupal\system\ConfigFormBase object.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The factory for configuration objects.
Overrides ConfigFormBase::__construct
File
- src/
Form/ NgLightboxSettingsForm.php, line 32
Class
Namespace
Drupal\ng_lightbox\FormCode
public function __construct(ConfigFactoryInterface $config_factory, array $lightbox_renderers) {
parent::__construct($config_factory);
$this->renderers = $lightbox_renderers;
}