public function UserSettings::__construct in Notify 2.0.x
Same name and namespace in other branches
- 8 src/Form/UserSettings.php \Drupal\notify\Form\UserSettings::__construct()
- 1.0.x src/Form/UserSettings.php \Drupal\notify\Form\UserSettings::__construct()
Class constructor.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory.
\Drupal\Core\Messenger\MessengerInterface $messenger: The core messenger service.
\\Drupal\Core\Routing\CurrentRouteMatch $route_match: The routeMatch service.
Overrides ConfigFormBase::__construct
File
- src/
Form/ UserSettings.php, line 48
Class
- UserSettings
- Defines a form that configures forms module settings.
Namespace
Drupal\notify\FormCode
public function __construct(ConfigFactoryInterface $config_factory, MessengerInterface $messenger, RouteMatchInterface $route_match) {
parent::__construct($config_factory);
$this->messenger = $messenger;
$this->routeMatch = $route_match;
}