Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. PermissionHandlerInterface.php

function PermissionHandlerInterface::moduleProvidesPermissions

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 64

Class

PermissionHandlerInterface
Defines an interface to list available permissions.

Namespace

Drupal\user

Code

public function moduleProvidesPermissions($module_name);

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal