public function DraggableDashboardController::__construct in Draggable dashboard 8
Same name and namespace in other branches
- 8.2 src/Controller/DraggableDashboardController.php \Drupal\draggable_dashboard\Controller\DraggableDashboardController::__construct()
DraggableDashboardController constructor.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: Entity Type Manager service.
File
- src/
Controller/ DraggableDashboardController.php, line 30
Class
- DraggableDashboardController
- Controller routines for draggable dashboards.
Namespace
Drupal\draggable_dashboard\ControllerCode
public function __construct(EntityTypeManagerInterface $entity_type_manager) {
$this->entityTypeManager = $entity_type_manager;
}