function NavigationContentLinks::create
Same name in other branches
- 11.x core/modules/navigation/src/NavigationContentLinks.php \Drupal\navigation\NavigationContentLinks::create()
Overrides ContainerInjectionInterface::create
File
-
core/
modules/ navigation/ src/ NavigationContentLinks.php, line 39
Class
- NavigationContentLinks
- Build the menu links for the Content menu.
Namespace
Drupal\navigationCode
public static function create(ContainerInterface $container) {
return new static($container->get('router.route_provider'), $container->get('entity_type.manager'));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.