src/Drupal/Driver/Cores/Drupal7.php 1 location
|
@@ 482-488 (lines=7) @@
|
| 479 |
|
* Array keyed by permission name, with the human-readable title as the |
| 480 |
|
* value. |
| 481 |
|
*/ |
| 482 |
|
protected function getAllPermissions() { |
| 483 |
|
$permissions = array(); |
| 484 |
|
foreach (module_invoke_all('permission') as $name => $permission) { |
| 485 |
|
$permissions[$name] = $permission['title']; |
| 486 |
|
} |
| 487 |
|
return $permissions; |
| 488 |
|
} |
| 489 |
|
|
| 490 |
|
/** |
| 491 |
|
* {@inheritdoc} |
src/Drupal/Driver/Cores/Drupal6.php 1 location
|
@@ 405-411 (lines=7) @@
|
| 402 |
|
* Array keyed by permission name, with the human-readable title as the |
| 403 |
|
* value. |
| 404 |
|
*/ |
| 405 |
|
protected function getAllPermissions() { |
| 406 |
|
$permissions = array(); |
| 407 |
|
foreach (module_invoke_all('permission') as $name => $permission) { |
| 408 |
|
$permissions[$name] = $permission['title']; |
| 409 |
|
} |
| 410 |
|
return $permissions; |
| 411 |
|
} |
| 412 |
|
|
| 413 |
|
/** |
| 414 |
|
* {@inheritdoc} |