You are here

public function ColorsSettingsForm::__construct in Colors 8

Constructs a ColorsSettingsForm object.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config_factory:

\Drupal\Component\Plugin\PluginManagerInterface $manager:

Overrides ConfigFormBase::__construct

File

src/Form/ColorsSettingsForm.php, line 38

Class

ColorsSettingsForm
Configure color settings.

Namespace

Drupal\colors\Form

Code

public function __construct(ConfigFactoryInterface $config_factory, PluginManagerInterface $manager) {
  parent::__construct($config_factory);
  $this->pluginCollection = new ColorsSchemePluginCollection($manager, $this);
}