You are here

public function DashboardsPermissions::__construct in Dashboards with Layout Builder 8

Same name and namespace in other branches
  1. 2.0.x src/DashboardsPermissions.php \Drupal\dashboards\DashboardsPermissions::__construct()

Constructs a DashboardsPermissions instance.

Parameters

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_manager: The entity type manager.

File

src/DashboardsPermissions.php, line 30

Class

DashboardsPermissions
Dashboard permissions.

Namespace

Drupal\dashboards

Code

public function __construct(EntityTypeManagerInterface $entity_manager) {
  $this->entityManager = $entity_manager;
}