public function CasSettings::__construct in CAS 8
Same name and namespace in other branches
- 2.x src/Form/CasSettings.php \Drupal\cas\Form\CasSettings::__construct()
Constructs a \Drupal\cas\Form\CasSettings object.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The factory for configuration objects.
\Drupal\Component\Plugin\Factory\FactoryInterface $plugin_factory: The condition plugin factory.
\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler.
Overrides ConfigFormBase::__construct
File
- src/
Form/ CasSettings.php, line 54
Class
- CasSettings
- Class CasSettings.
Namespace
Drupal\cas\FormCode
public function __construct(ConfigFactoryInterface $config_factory, FactoryInterface $plugin_factory, ModuleHandlerInterface $module_handler) {
parent::__construct($config_factory);
$this->gatewayPaths = $plugin_factory
->createInstance('request_path');
$this->forcedLoginPaths = $plugin_factory
->createInstance('request_path');
$this->moduleHandler = $module_handler;
}