src/Drupal/Driver/Cores/Drupal6.php 1 location
|
@@ 402-408 (lines=7) @@
|
| 399 |
|
* Array keyed by permission name, with the human-readable title as the |
| 400 |
|
* value. |
| 401 |
|
*/ |
| 402 |
|
protected function getAllPermissions() { |
| 403 |
|
$permissions = array(); |
| 404 |
|
foreach (module_invoke_all('permission') as $name => $permission) { |
| 405 |
|
$permissions[$name] = $permission['title']; |
| 406 |
|
} |
| 407 |
|
return $permissions; |
| 408 |
|
} |
| 409 |
|
|
| 410 |
|
/** |
| 411 |
|
* {@inheritdoc} |
src/Drupal/Driver/Cores/Drupal7.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} |