public function EventSubscribers::__construct in Open Social 10.1.x
Same name and namespace in other branches
- 8.9 modules/social_features/social_group/modules/social_group_invite/src/EventSubscriber/EventSubscribers.php \Drupal\social_group_invite\EventSubscriber\EventSubscribers::__construct()
- 10.3.x modules/social_features/social_group/modules/social_group_invite/src/EventSubscriber/EventSubscribers.php \Drupal\social_group_invite\EventSubscriber\EventSubscribers::__construct()
- 10.0.x modules/social_features/social_group/modules/social_group_invite/src/EventSubscriber/EventSubscribers.php \Drupal\social_group_invite\EventSubscriber\EventSubscribers::__construct()
- 10.2.x modules/social_features/social_group/modules/social_group_invite/src/EventSubscriber/EventSubscribers.php \Drupal\social_group_invite\EventSubscriber\EventSubscribers::__construct()
CustomRedirects construct.
Parameters
\Drupal\Core\Routing\CurrentRouteMatch $route_match: The current route.
\Drupal\Core\Session\AccountProxy $current_user: The current user.
File
- modules/
social_features/ social_group/ modules/ social_group_invite/ src/ EventSubscriber/ EventSubscribers.php, line 47
Class
- EventSubscribers
- Class CustomRedirects.
Namespace
Drupal\social_group_invite\EventSubscriberCode
public function __construct(CurrentRouteMatch $route_match, AccountProxy $current_user) {
$this->currentRoute = $route_match;
$this->currentUser = $current_user;
}