public function ModerationDashboardAccess::__construct in Moderation Dashboard 2.0.x
Same name in this branch
- 2.0.x src/Access/ModerationDashboardAccess.php \Drupal\moderation_dashboard\Access\ModerationDashboardAccess::__construct()
- 2.0.x src/Plugin/Condition/ModerationDashboardAccess.php \Drupal\moderation_dashboard\Plugin\Condition\ModerationDashboardAccess::__construct()
Constructs a ScheduledListAccess object.
Parameters
\Drupal\Core\Routing\RouteMatchInterface $route_match: The current route match.
File
- src/
Access/ ModerationDashboardAccess.php, line 29
Class
- ModerationDashboardAccess
- Checks access for displaying the scheduler list of scheduled nodes.
Namespace
Drupal\moderation_dashboard\AccessCode
public function __construct(RouteMatchInterface $route_match) {
$this->routeMatch = $route_match;
}