You are here

public function ActionsPermissions::__construct in Views Bulk Operations (VBO) 8

Same name and namespace in other branches
  1. 8.3 modules/actions_permissions/src/ActionsPermissions.php \Drupal\actions_permissions\ActionsPermissions::__construct()
  2. 8.2 modules/actions_permissions/src/ActionsPermissions.php \Drupal\actions_permissions\ActionsPermissions::__construct()
  3. 4.0.x modules/actions_permissions/src/ActionsPermissions.php \Drupal\actions_permissions\ActionsPermissions::__construct()

Constructor.

Parameters

\Drupal\views_bulk_operations\Service\ViewsBulkOperationsActionManager $actionManager: The action manager.

\Drupal\Core\Entity\EntityTypeManagerInterface $entityTypeManager: Entity type manager.

File

modules/actions_permissions/src/ActionsPermissions.php, line 40

Class

ActionsPermissions
Create permissions for existing actions.

Namespace

Drupal\actions_permissions

Code

public function __construct(ViewsBulkOperationsActionManager $actionManager, EntityTypeManagerInterface $entityTypeManager) {
  $this->actionManager = $actionManager;
  $this->entityTypeManager = $entityTypeManager;
}