NodeController::$entityRepository
Same name in other branches
- 9 core/modules/node/src/Controller/NodeController.php \Drupal\node\Controller\NodeController::entityRepository
- 8.9.x core/modules/node/src/Controller/NodeController.php \Drupal\node\Controller\NodeController::entityRepository
- 11.x core/modules/node/src/Controller/NodeController.php \Drupal\node\Controller\NodeController::entityRepository
The entity repository service.
Type: \Drupal\Core\Entity\EntityRepositoryInterface
File
-
core/
modules/ node/ src/ Controller/ NodeController.php, line 41
Class
- NodeController
- Returns responses for Node routes.
Namespace
Drupal\node\ControllerCode
protected $entityRepository;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.