public static function ContextualController::create in Drupal 10
Same name and namespace in other branches
- 8 core/modules/contextual/src/ContextualController.php \Drupal\contextual\ContextualController::create()
- 9 core/modules/contextual/src/ContextualController.php \Drupal\contextual\ContextualController::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'));
}