Routes.php
Same filename in this branch
Same filename in other branches
- 8.9.x core/modules/jsonapi/src/Routing/Routes.php
- 8.9.x core/modules/menu_link_content/tests/menu_link_content_dynamic_route/src/Routes.php
- 10 core/modules/jsonapi/src/Routing/Routes.php
- 10 core/modules/menu_link_content/tests/menu_link_content_dynamic_route/src/Routes.php
- 11.x core/modules/jsonapi/src/Routing/Routes.php
- 11.x core/modules/menu_link_content/tests/menu_link_content_dynamic_route/src/Routes.php
Namespace
Drupal\menu_link_content_dynamic_routeFile
-
core/
modules/ menu_link_content/ tests/ menu_link_content_dynamic_route/ src/ Routes.php
View source
<?php
namespace Drupal\menu_link_content_dynamic_route;
/**
* Provides dynamic routes for test purposes.
*/
class Routes {
public function dynamic() {
return \Drupal::state()->get('menu_link_content_dynamic_route.routes', []);
}
}
Classes
Title | Deprecated | Summary |
---|---|---|
Routes | Provides dynamic routes for test purposes. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.