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);
Please login to continue.