protected property NodeController::$entityRepository in Drupal 8
Same name and namespace in other branches
- 9 core/modules/node/src/Controller/NodeController.php \Drupal\node\Controller\NodeController::entityRepository
- 10 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 42
Class
- NodeController
- Returns responses for Node routes.
Namespace
Drupal\node\ControllerCode
protected $entityRepository;