public function ActionsPermissions::__construct in Views Bulk Operations (VBO) 8
Same name and namespace in other branches
- 8.3 modules/actions_permissions/src/ActionsPermissions.php \Drupal\actions_permissions\ActionsPermissions::__construct()
- 8.2 modules/actions_permissions/src/ActionsPermissions.php \Drupal\actions_permissions\ActionsPermissions::__construct()
- 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_permissionsCode
public function __construct(ViewsBulkOperationsActionManager $actionManager, EntityTypeManagerInterface $entityTypeManager) {
$this->actionManager = $actionManager;
$this->entityTypeManager = $entityTypeManager;
}