Skip to content
Snippets Groups Projects
Commit 6c3fbad8 authored by Alex Pott's avatar Alex Pott
Browse files

Issue #2104727 by wesleydv, Sam152: Move controller class out of route folder in toolbar module.

parent 9cf1a394
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -2,10 +2,10 @@
/**
* @file
* Contains \Drupal\toolbar\Routing\ToolbarController.
* Contains \Drupal\toolbar\Controller\ToolbarController.
*/
namespace Drupal\toolbar\Routing;
namespace Drupal\toolbar\Controller;
use Drupal\Core\Access\AccessInterface;
use Drupal\Core\Controller\ControllerBase;
......
toolbar.subtrees:
path: '/toolbar/subtrees/{hash}'
defaults:
_controller: '\Drupal\toolbar\Routing\ToolbarController::subtreesJsonp'
_controller: '\Drupal\toolbar\Controller\ToolbarController::subtreesJsonp'
requirements:
_custom_access: '\Drupal\toolbar\Routing\ToolbarController::checkSubTreeAccess'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment