src/Drupal/Driver/Cores/Drupal6.php 1 location
|
@@ 426-432 (lines=7) @@
|
423 |
|
* Array keyed by permission name, with the human-readable title as the |
424 |
|
* value. |
425 |
|
*/ |
426 |
|
protected function getAllPermissions() { |
427 |
|
$permissions = array(); |
428 |
|
foreach (module_invoke_all('permission') as $name => $permission) { |
429 |
|
$permissions[$name] = $permission['title']; |
430 |
|
} |
431 |
|
return $permissions; |
432 |
|
} |
433 |
|
|
434 |
|
/** |
435 |
|
* {@inheritdoc} |
src/Drupal/Driver/Cores/Drupal7.php 1 location
|
@@ 518-524 (lines=7) @@
|
515 |
|
* Array keyed by permission name, with the human-readable title as the |
516 |
|
* value. |
517 |
|
*/ |
518 |
|
protected function getAllPermissions() { |
519 |
|
$permissions = array(); |
520 |
|
foreach (module_invoke_all('permission') as $name => $permission) { |
521 |
|
$permissions[$name] = $permission['title']; |
522 |
|
} |
523 |
|
return $permissions; |
524 |
|
} |
525 |
|
|
526 |
|
/** |
527 |
|
* {@inheritdoc} |