src/Drupal/Driver/Cores/Drupal6.php 1 location
|
@@ 407-413 (lines=7) @@
|
| 404 |
|
* Array keyed by permission name, with the human-readable title as the |
| 405 |
|
* value. |
| 406 |
|
*/ |
| 407 |
|
protected function getAllPermissions() { |
| 408 |
|
$permissions = array(); |
| 409 |
|
foreach (module_invoke_all('permission') as $name => $permission) { |
| 410 |
|
$permissions[$name] = $permission['title']; |
| 411 |
|
} |
| 412 |
|
return $permissions; |
| 413 |
|
} |
| 414 |
|
|
| 415 |
|
/** |
| 416 |
|
* {@inheritdoc} |
src/Drupal/Driver/Cores/Drupal7.php 1 location
|
@@ 416-422 (lines=7) @@
|
| 413 |
|
* Array keyed by permission name, with the human-readable title as the |
| 414 |
|
* value. |
| 415 |
|
*/ |
| 416 |
|
protected function getAllPermissions() { |
| 417 |
|
$permissions = array(); |
| 418 |
|
foreach (module_invoke_all('permission') as $name => $permission) { |
| 419 |
|
$permissions[$name] = $permission['title']; |
| 420 |
|
} |
| 421 |
|
return $permissions; |
| 422 |
|
} |
| 423 |
|
|
| 424 |
|
/** |
| 425 |
|
* {@inheritdoc} |