You are here

public function CustomerrorSettingsForm::__construct in Customerror 8

Constructs a \Drupal\system\ConfigFormBase object.

Parameters

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

Overrides ConfigFormBase::__construct

File

src/Form/CustomerrorSettingsForm.php, line 22

Class

CustomerrorSettingsForm
Provides a form controller for module settings.

Namespace

Drupal\customerror\Form

Code

public function __construct(ConfigFactory $config_factory, AliasManagerInterface $alias_manager) {
  parent::__construct($config_factory);
  $this->aliasManager = $alias_manager;
}