Commit 466c8c4c authored by alexpott's avatar alexpott

Issue #2015377 by kim.pepper: Move Controllers in 'Routing' to 'Controller' namespace.

parent 22a09e4d
aggregator_admin_overview:
pattern: 'admin/config/services/aggregator'
defaults:
_content: '\Drupal\aggregator\Routing\AggregatorController::adminOverview'
_content: '\Drupal\aggregator\Controller\AggregatorController::adminOverview'
requirements:
_permission: 'administer news feeds'
......@@ -29,14 +29,14 @@ aggregator_feed_delete:
aggregator_feed_add:
pattern: '/admin/config/services/aggregator/add/feed'
defaults:
_content: '\Drupal\aggregator\Routing\AggregatorController::feedAdd'
_content: '\Drupal\aggregator\Controller\AggregatorController::feedAdd'
requirements:
_permission: 'administer news feeds'
aggregator_feed_refresh:
pattern: '/admin/config/services/aggregator/update/{aggregator_feed}'
defaults:
_controller: '\Drupal\aggregator\Routing\AggregatorController::feedRefresh'
_controller: '\Drupal\aggregator\Controller\AggregatorController::feedRefresh'
requirements:
_permission: 'administer news feeds'
......@@ -50,13 +50,13 @@ aggregator_opml_add:
aggregator_page_last:
pattern: '/aggregator'
defaults:
_controller: '\Drupal\aggregator\Routing\AggregatorController::pageLast'
_controller: '\Drupal\aggregator\Controller\AggregatorController::pageLast'
requirements:
_permission: 'access news feeds'
aggregator_sources:
pattern: '/aggregator/sources'
defaults:
_content: '\Drupal\aggregator\Routing\AggregatorController::sources'
_content: '\Drupal\aggregator\Controller\AggregatorController::sources'
requirements:
_permission: 'access news feeds'
......@@ -2,10 +2,10 @@
/**
* @file
* Contains \Drupal\aggregator\Routing\AggregatorController.
* Contains \Drupal\aggregator\Controller\AggregatorController.
*/
namespace Drupal\aggregator\Routing;
namespace Drupal\aggregator\Controller;
use Drupal\aggregator\FeedInterface;
use Drupal\Core\Config\ConfigFactory;
......@@ -52,7 +52,7 @@ class AggregatorController implements ControllerInterface {
protected $moduleHandler;
/**
* Constructs a \Drupal\aggregator\Routing\AggregatorController object.
* Constructs a \Drupal\aggregator\Controller\AggregatorController object.
*
* @param \Drupal\Core\Entity\EntityManager $entity_manager
* The Entity manager.
......
......@@ -2,10 +2,10 @@
/**
* @file
* Contains \Drupal\views_ui\Routing\ViewsUIController.
* Contains \Drupal\views_ui\Controller\ViewsUIController.
*/
namespace Drupal\views_ui\Routing;
namespace Drupal\views_ui\Controller;
use Drupal\views\ViewExecutable;
use Drupal\views\ViewStorageInterface;
......@@ -49,7 +49,7 @@ class ViewsUIController implements ControllerInterface {
protected $tempStore;
/**
* Constructs a new \Drupal\views_ui\Routing\ViewsUIController object.
* Constructs a new \Drupal\views_ui\Controller\ViewsUIController object.
*
* @param \Drupal\Core\Entity\EntityManager $entity_manager
* The Entity manager.
......
......@@ -8,7 +8,7 @@
namespace Drupal\views_ui\Tests;
use Drupal\views\Tests\ViewUnitTestBase;
use Drupal\views_ui\Routing\ViewsUIController;
use Drupal\views_ui\Controller\ViewsUIController;
/**
* Tests the views ui tagging functionality.
......
views_ui.list:
pattern: '/admin/structure/views'
defaults:
_controller: '\Drupal\views_ui\Routing\ViewsUIController::listing'
_controller: '\Drupal\views_ui\Controller\ViewsUIController::listing'
requirements:
_permission: 'administer views'
......@@ -29,21 +29,21 @@ views_ui.settings.advanced:
views_ui.reports.fields:
pattern: '/admin/reports/fields/views-fields'
defaults:
_controller: '\Drupal\views_ui\Routing\ViewsUIController::reportFields'
_controller: '\Drupal\views_ui\Controller\ViewsUIController::reportFields'
requirements:
_permission: 'administer views'
views_ui.reports.plugins:
pattern: '/admin/reports/views-plugins'
defaults:
_controller: '\Drupal\views_ui\Routing\ViewsUIController::reportPlugins'
_controller: '\Drupal\views_ui\Controller\ViewsUIController::reportPlugins'
requirements:
_permission: 'administer views'
views_ui.operation:
pattern: '/admin/structure/views/view/{view}/{op}'
defaults:
_controller: '\Drupal\views_ui\Routing\ViewsUIController::ajaxOperation'
_controller: '\Drupal\views_ui\Controller\ViewsUIController::ajaxOperation'
requirements:
_permission: 'administer views'
op: 'enable|disable'
......@@ -65,7 +65,7 @@ views_ui.delete:
views_ui.autocomplete:
pattern: '/admin/views/ajax/autocomplete/tag'
defaults:
_controller: '\Drupal\views_ui\Routing\ViewsUIController::autocompleteTag'
_controller: '\Drupal\views_ui\Controller\ViewsUIController::autocompleteTag'
requirements:
_permission: 'administer views'
......@@ -75,7 +75,7 @@ views_ui.edit:
tempstore:
view: 'views'
defaults:
_controller: '\Drupal\views_ui\Routing\ViewsUIController::edit'
_controller: '\Drupal\views_ui\Controller\ViewsUIController::edit'
requirements:
_permission: 'administer views'
......@@ -85,7 +85,7 @@ views_ui.edit.display:
tempstore:
view: 'views'
defaults:
_controller: '\Drupal\views_ui\Routing\ViewsUIController::edit'
_controller: '\Drupal\views_ui\Controller\ViewsUIController::edit'
display_id: NULL
requirements:
_permission: 'administer views'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment