Home
last modified time | relevance | path

Searched refs:route_provider (Results 1 – 25 of 104) sorted by relevance

12345

/dports/www/drupal8/drupal-8.9.20/core/tests/Drupal/Tests/Core/EventSubscriber/
H A DOptionsRequestSubscriberTest.php27 $route_provider = $this->prophesize(RouteProviderInterface::class);
28 $route_provider->getRouteCollectionForRequest($request)->shouldNotBeCalled();
30 $subscriber = new OptionsRequestSubscriber($route_provider->reveal());
44 $route_provider = $this->prophesize(RouteProviderInterface::class);
45 …$route_provider->getRouteCollectionForRequest($request)->willReturn(new RouteCollection())->should…
47 $subscriber = new OptionsRequestSubscriber($route_provider->reveal());
62 $route_provider = $this->prophesize(RouteProviderInterface::class);
63 …$route_provider->getRouteCollectionForRequest($request)->willReturn($collection)->shouldBeCalled();
65 $subscriber = new OptionsRequestSubscriber($route_provider->reveal());
/dports/www/drupal9/drupal-9.2.10/core/tests/Drupal/Tests/Core/EventSubscriber/
H A DOptionsRequestSubscriberTest.php27 $route_provider = $this->prophesize(RouteProviderInterface::class);
28 $route_provider->getRouteCollectionForRequest($request)->shouldNotBeCalled();
30 $subscriber = new OptionsRequestSubscriber($route_provider->reveal());
44 $route_provider = $this->prophesize(RouteProviderInterface::class);
45 …$route_provider->getRouteCollectionForRequest($request)->willReturn(new RouteCollection())->should…
47 $subscriber = new OptionsRequestSubscriber($route_provider->reveal());
62 $route_provider = $this->prophesize(RouteProviderInterface::class);
63 …$route_provider->getRouteCollectionForRequest($request)->willReturn($collection)->shouldBeCalled();
65 $subscriber = new OptionsRequestSubscriber($route_provider->reveal());
/dports/www/drupal8/drupal-8.9.20/core/tests/Drupal/KernelTests/Core/Entity/
H A DRouteProviderTest.php61 $route_provider = \Drupal::service('router.route_provider');
63 $route = $route_provider->getRouteByName('entity.entity_test_mul.canonical');
69 $route = $route_provider->getRouteByName('entity.entity_test_mul.edit_form');
75 $route = $route_provider->getRouteByName('entity.entity_test_mul.delete_form');
102 $route_provider = \Drupal::service('router.route_provider');
104 $route = $route_provider->getRouteByName('entity.entity_test_admin_routes.canonical');
110 $route = $route_provider->getRouteByName('entity.entity_test_admin_routes.edit_form');
117 $route = $route_provider->getRouteByName('entity.entity_test_admin_routes.delete_form');
/dports/www/drupal9/drupal-9.2.10/core/tests/Drupal/KernelTests/Core/Entity/
H A DRouteProviderTest.php61 $route_provider = \Drupal::service('router.route_provider');
63 $route = $route_provider->getRouteByName('entity.entity_test_mul.canonical');
69 $route = $route_provider->getRouteByName('entity.entity_test_mul.edit_form');
75 $route = $route_provider->getRouteByName('entity.entity_test_mul.delete_form');
102 $route_provider = \Drupal::service('router.route_provider');
104 $route = $route_provider->getRouteByName('entity.entity_test_admin_routes.canonical');
110 $route = $route_provider->getRouteByName('entity.entity_test_admin_routes.edit_form');
117 $route = $route_provider->getRouteByName('entity.entity_test_admin_routes.delete_form');
/dports/www/drupal8/drupal-8.9.20/core/modules/workspaces/tests/src/Unit/
H A DWorkspaceRequestSubscriberTest.php57 $route_provider = $this->prophesize(CacheableRouteProviderInterface::class);
58 $route_provider->addExtraCacheKeyPart('workspace', 'test')->shouldBeCalled();
63 …WorkspaceRequestSubscriber($this->aliasManager, $this->currentPath, $route_provider->reveal(), $th…
72 $route_provider = $this->prophesize(RouteProviderInterface::class);
77 …WorkspaceRequestSubscriber($this->aliasManager, $this->currentPath, $route_provider->reveal(), $th…
/dports/www/drupal9/drupal-9.2.10/core/modules/workspaces/tests/src/Unit/
H A DWorkspaceRequestSubscriberTest.php57 $route_provider = $this->prophesize(CacheableRouteProviderInterface::class);
58 $route_provider->addExtraCacheKeyPart('workspace', 'test')->shouldBeCalled();
63 …WorkspaceRequestSubscriber($this->aliasManager, $this->currentPath, $route_provider->reveal(), $th…
72 $route_provider = $this->prophesize(RouteProviderInterface::class);
77 …WorkspaceRequestSubscriber($this->aliasManager, $this->currentPath, $route_provider->reveal(), $th…
/dports/www/drupal8/drupal-8.9.20/core/modules/views_ui/tests/src/Unit/
H A DViewListBuilderTest.php82 $route_provider = $this->createMock('Drupal\Core\Routing\RouteProviderInterface');
87 …->setConstructorArgs([[], 'default', $display_manager->getDefinition('page'), $route_provider, $st…
143 $route_provider = $this->createMock('Drupal\Core\Routing\RouteProviderInterface');
144 …xecutable_factory = new ViewExecutableFactory($user, $request_stack, $views_data, $route_provider);
/dports/www/drupal9/drupal-9.2.10/core/modules/views_ui/tests/src/Unit/
H A DViewListBuilderTest.php82 $route_provider = $this->createMock('Drupal\Core\Routing\RouteProviderInterface');
87 …->setConstructorArgs([[], 'default', $display_manager->getDefinition('page'), $route_provider, $st…
143 $route_provider = $this->createMock('Drupal\Core\Routing\RouteProviderInterface');
144 …xecutable_factory = new ViewExecutableFactory($user, $request_stack, $views_data, $route_provider);
/dports/www/drupal8/drupal-8.9.20/core/tests/Drupal/Tests/Core/Routing/
H A DRouterTest.php26 $route_provider = $this->prophesize(RouteProviderInterface::class);
38 $route_provider->getRouteCollectionForRequest(Argument::any())
43 …$router = new Router($route_provider->reveal(), $current_path_stack->reveal(), $url_generator->rev…
/dports/www/drupal9/drupal-9.2.10/core/tests/Drupal/Tests/Core/Routing/
H A DRouterTest.php26 $route_provider = $this->prophesize(RouteProviderInterface::class);
38 $route_provider->getRouteCollectionForRequest(Argument::any())
43 …$router = new Router($route_provider->reveal(), $current_path_stack->reveal(), $url_generator->rev…
/dports/www/drupal8/drupal-8.9.20/core/modules/field_ui/src/Plugin/Derivative/
H A DFieldUiLocalTask.php60 …public function __construct(RouteProviderInterface $route_provider, EntityTypeManagerInterface $en… argument
61 $this->routeProvider = $route_provider;
76 $container->get('router.route_provider'),
H A DFieldUiLocalAction.php41 …public function __construct(RouteProviderInterface $route_provider, EntityTypeManagerInterface $en… argument
42 $this->routeProvider = $route_provider;
/dports/www/drupal8/drupal-8.9.20/core/modules/config_translation/
H A Dconfig_translation.api.php36 $route_provider = \Drupal::service('router.route_provider');
45 …$base_route = $route_provider->getRouteByName('entity.field_config.' . $entity_type_id . '_field_e…
/dports/www/drupal9/drupal-9.2.10/core/modules/config_translation/
H A Dconfig_translation.api.php36 $route_provider = \Drupal::service('router.route_provider');
45 …$base_route = $route_provider->getRouteByName('entity.field_config.' . $entity_type_id . '_field_e…
/dports/www/drupal8/drupal-8.9.20/core/modules/views/src/
H A DViewExecutableFactory.php54 …user, RequestStack $request_stack, ViewsData $views_data, RouteProviderInterface $route_provider) { argument
58 $this->routeProvider = $route_provider;
/dports/www/drupal9/drupal-9.2.10/core/modules/views/src/
H A DViewExecutableFactory.php54 …user, RequestStack $request_stack, ViewsData $views_data, RouteProviderInterface $route_provider) { argument
58 $this->routeProvider = $route_provider;
/dports/www/drupal9/drupal-9.2.10/core/modules/system/tests/modules/menu_test/src/Plugin/Menu/LocalAction/
H A DTestLocalActionWithConfig.php42 …nfiguration, $plugin_id, $plugin_definition, RouteProviderInterface $route_provider, Config $confi… argument
43 parent::__construct($configuration, $plugin_id, $plugin_definition, $route_provider);
/dports/www/drupal8/drupal-8.9.20/core/modules/system/tests/modules/menu_test/src/Plugin/Menu/LocalAction/
H A DTestLocalActionWithConfig.php42 …nfiguration, $plugin_id, $plugin_definition, RouteProviderInterface $route_provider, Config $confi… argument
43 parent::__construct($configuration, $plugin_id, $plugin_definition, $route_provider);
/dports/www/drupal8/drupal-8.9.20/core/modules/menu_ui/src/Plugin/Menu/LocalAction/
H A DMenuLinkAdd.php37 …nfiguration, $plugin_id, $plugin_definition, RouteProviderInterface $route_provider, RedirectDesti… argument
38 parent::__construct($configuration, $plugin_id, $plugin_definition, $route_provider);
/dports/www/drupal9/drupal-9.2.10/core/modules/menu_ui/src/Plugin/Menu/LocalAction/
H A DMenuLinkAdd.php37 …nfiguration, $plugin_id, $plugin_definition, RouteProviderInterface $route_provider, RedirectDesti… argument
38 parent::__construct($configuration, $plugin_id, $plugin_definition, $route_provider);
/dports/www/drupal9/drupal-9.2.10/core/lib/Drupal/Core/EventSubscriber/
H A DEntityRouteProviderSubscriber.php43 … foreach ($this->entityTypeManager->getRouteProviders($entity_type->id()) as $route_provider) {
47 $routes = $route_provider->getRoutes($entity_type);
H A DOptionsRequestSubscriber.php33 public function __construct(RouteProviderInterface $route_provider) { argument
34 $this->routeProvider = $route_provider;
/dports/www/drupal8/drupal-8.9.20/core/lib/Drupal/Core/EventSubscriber/
H A DOptionsRequestSubscriber.php33 public function __construct(RouteProviderInterface $route_provider) { argument
34 $this->routeProvider = $route_provider;
/dports/www/drupal9/drupal-9.2.10/core/modules/field_ui/src/Plugin/Derivative/
H A DFieldUiLocalAction.php34 …public function __construct(RouteProviderInterface $route_provider, EntityTypeManagerInterface $en… argument
35 $this->routeProvider = $route_provider;
/dports/www/drupal8/drupal-8.9.20/core/modules/settings_tray/src/RouteProcessor/
H A DBlockEntityOffCanvasFormRouteProcessorBC.php30 public function __construct(RouteProviderInterface $route_provider) { argument
31 $this->routeProvider = $route_provider;

12345