function ModulePermissionsLinkHelper::__construct

Same name in other branches
  1. 11.x core/modules/user/src/ModulePermissionsLinkHelper.php \Drupal\user\ModulePermissionsLinkHelper::__construct()

Constructs a new service instance.

Parameters

\Drupal\user\PermissionHandlerInterface $permissionHandler: The user permissions handler service.

\Drupal\Core\Access\AccessManagerInterface $accessManager: The access manager service.

\Drupal\Core\Extension\ModuleExtensionList $moduleExtensionList: The module handler service.

File

core/modules/user/src/ModulePermissionsLinkHelper.php, line 29

Class

ModulePermissionsLinkHelper
Provides a helper for generating module permissions links.

Namespace

Drupal\user

Code

public function __construct(PermissionHandlerInterface $permissionHandler, AccessManagerInterface $accessManager, ModuleExtensionList $moduleExtensionList) {
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.