public function AutologoutSettingsForm::__construct in Automated Logout 8
Constructs an AutologoutSettingsForm object.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The factory for configuration objects.
\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module manager service.
\Drupal\user\UserData $user_data: The user.data service.
Overrides ConfigFormBase::__construct
File
- src/
Form/ AutologoutSettingsForm.php, line 42
Class
- AutologoutSettingsForm
- Provides settings for autologout module.
Namespace
Drupal\autologout\FormCode
public function __construct(ConfigFactoryInterface $config_factory, ModuleHandlerInterface $module_handler, UserData $user_data) {
parent::__construct($config_factory);
$this->moduleHandler = $module_handler;
$this->userData = $user_data;
}