You are here

public function NotificationsWidgetLoggerSettingsForm::__construct in Notifications widget 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\Core\Entity\EntityTypeManagerInterface $entity_manager: The module entity manager service.

\Drupal\Core\Messenger\MessengerInterface $messenger_manager: The module messager manager service.

Overrides ConfigFormBase::__construct

File

src/Form/NotificationsWidgetLoggerSettingsForm.php, line 51

Class

NotificationsWidgetLoggerSettingsForm
Provides settings for Activity tracking module.

Namespace

Drupal\notifications_widget\Form

Code

public function __construct(ConfigFactoryInterface $config_factory, ModuleHandlerInterface $module_handler, EntityTypeManagerInterface $entity_manager, MessengerInterface $messenger_manager) {
  parent::__construct($config_factory);
  $this->moduleHandler = $module_handler;
  $this->entityTypeManager = $entity_manager;
  $this->messengerTypeManager = $messenger_manager;
}