PermissionHandlerInterface::moduleProvidesPermissions

public PermissionHandlerInterface::moduleProvidesPermissions($module_name)

Determines whether a module provides some permissions.

Parameters

string $module_name: The module name.

Return value

bool Returns TRUE if the module provides some permissions, otherwise FALSE.

File

core/modules/user/src/PermissionHandlerInterface.php, line 50

Class

PermissionHandlerInterface
Defines an interface to list available permissions.

Namespace

Drupal\user

Code

public function moduleProvidesPermissions($module_name);
doc_Drupal
2016-10-29 09:33:41
Comments
Leave a Comment

Please login to continue.