function ContextualController::create
Same name in other branches
- 9 core/modules/contextual/src/ContextualController.php \Drupal\contextual\ContextualController::create()
- 10 core/modules/contextual/src/ContextualController.php \Drupal\contextual\ContextualController::create()
- 11.x core/modules/contextual/src/ContextualController.php \Drupal\contextual\ContextualController::create()
Overrides ContainerInjectionInterface::create
File
-
core/
modules/ contextual/ src/ ContextualController.php, line 39
Class
- ContextualController
- Returns responses for Contextual module routes.
Namespace
Drupal\contextualCode
public static function create(ContainerInterface $container) {
return new static($container->get('renderer'));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.