public function Role8::getAllModulePerms

8.0.x Role8.php public Role8::getAllModulePerms()
7.x Role8.php public Role8::getAllModulePerms()
master Role8.php public Role8::getAllModulePerms()

Overrides RoleBase::getAllModulePerms

File

lib/Drush/Role/Role8.php, line 34

Namespace

Drush\Role

Class

Role8

Code

public function getAllModulePerms() {
  $perms = \Drupal::service('user.permissions')->getPermissions();
  return array_keys($perms);
}