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} |
src/Drupal/Driver/Cores/Drupal7.php 1 location
|
@@ 516-522 (lines=7) @@
|
| 513 |
|
* Array keyed by permission name, with the human-readable title as the |
| 514 |
|
* value. |
| 515 |
|
*/ |
| 516 |
|
protected function getAllPermissions() { |
| 517 |
|
$permissions = array(); |
| 518 |
|
foreach (module_invoke_all('permission') as $name => $permission) { |
| 519 |
|
$permissions[$name] = $permission['title']; |
| 520 |
|
} |
| 521 |
|
return $permissions; |
| 522 |
|
} |
| 523 |
|
|
| 524 |
|
/** |
| 525 |
|
* {@inheritdoc} |