You are here

public function NgLightboxSettingsForm::__construct in NG Lightbox 8

Same name and namespace in other branches
  1. 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

NgLightboxSettingsForm

Namespace

Drupal\ng_lightbox\Form

Code

public function __construct(ConfigFactoryInterface $config_factory, array $lightbox_renderers) {
  parent::__construct($config_factory);
  $this->renderers = $lightbox_renderers;
}