You are here

public function RedirectLogoutSettings::__construct in Redirect after logout 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/RedirectLogoutSettings.php, line 38

Class

RedirectLogoutSettings
Class RedirectLogoutSettings.

Namespace

Drupal\redirect_after_logout\Form

Code

public function __construct(ModuleHandler $module_handler, PathValidator $pathValidator) {
  $this->moduleHandler = $module_handler;
  $this->pathValidator = $pathValidator;
}