function Routes::create
Same name in other branches
- 9 core/modules/jsonapi/src/Routing/Routes.php \Drupal\jsonapi\Routing\Routes::create()
- 8.9.x core/modules/jsonapi/src/Routing/Routes.php \Drupal\jsonapi\Routing\Routes::create()
- 11.x core/modules/jsonapi/src/Routing/Routes.php \Drupal\jsonapi\Routing\Routes::create()
Overrides ContainerInjectionInterface::create
1 call to Routes::create()
- RoutesTest::setUp in core/
modules/ jsonapi/ tests/ src/ Unit/ Routing/ RoutesTest.php
File
-
core/
modules/ jsonapi/ src/ Routing/ Routes.php, line 99
Class
- Routes
- Defines dynamic routes.
Namespace
Drupal\jsonapi\RoutingCode
public static function create(ContainerInterface $container) {
return new static($container->get('jsonapi.resource_type.repository'), $container->getParameter('authentication_providers'), $container->getParameter('jsonapi.base_path'));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.