You are here

protected property MainController::$router in View Mode Page 4.0.x

Same name and namespace in other branches
  1. 8.3 src/Controller/MainController.php \Drupal\view_mode_page\Controller\MainController::router
  2. 3.2.x src/Controller/MainController.php \Drupal\view_mode_page\Controller\MainController::router

The access aware router interface.

Type: \Drupal\Core\Routing\AccessAwareRouterInterface

File

src/Controller/MainController.php, line 36

Class

MainController
Class MainController.

Namespace

Drupal\view_mode_page\Controller

Code

protected $router;