function NodeController::create
Same name in other branches
- 9 core/modules/node/src/Controller/NodeController.php \Drupal\node\Controller\NodeController::create()
Overrides ControllerBase::create
File
-
core/
modules/ node/ src/ Controller/ NodeController.php, line 67
Class
- NodeController
- Returns responses for Node routes.
Namespace
Drupal\node\ControllerCode
public static function create(ContainerInterface $container) {
return new static($container->get('date.formatter'), $container->get('renderer'), $container->get('entity.repository'));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.