public function ListUsageController::__construct in Entity Usage 8
Same name and namespace in other branches
- 8.4 src/Controller/ListUsageController.php \Drupal\entity_usage\Controller\ListUsageController::__construct()
- 8.2 src/Controller/ListUsageController.php \Drupal\entity_usage\Controller\ListUsageController::__construct()
- 8.3 src/Controller/ListUsageController.php \Drupal\entity_usage\Controller\ListUsageController::__construct()
ListUsageController constructor.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The EntityManager service.
\Drupal\entity_usage\EntityUsageInterface $entity_usage: The EntityUsage service.
File
- src/
Controller/ ListUsageController.php, line 40
Class
- ListUsageController
- Controller for our pages.
Namespace
Drupal\entity_usage\ControllerCode
public function __construct(EntityTypeManagerInterface $entity_type_manager, EntityUsageInterface $entity_usage) {
$this->entityTypeManager = $entity_type_manager;
$this->entityUsage = $entity_usage;
}