Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
100.00% |
5 / 5 |
|
100.00% |
1 / 1 |
CRAP | n/a |
0 / 0 |
|
| authorization_drupal_roles_help | |
100.00% |
5 / 5 |
|
100.00% |
1 / 1 |
2 | |||
| 1 | <?php |
| 2 | |
| 3 | /** |
| 4 | * @file |
| 5 | * Contains authorization_drupal_roles.module. |
| 6 | */ |
| 7 | |
| 8 | declare(strict_types=1); |
| 9 | |
| 10 | use Drupal\Core\Routing\RouteMatchInterface; |
| 11 | |
| 12 | /** |
| 13 | * Implements hook_help(). |
| 14 | */ |
| 15 | function authorization_drupal_roles_help($route_name, RouteMatchInterface $route_match) { |
| 16 | if ($route_name === 'help.page.authorization_drupal_roles') { |
| 17 | $output = ''; |
| 18 | $output .= '<h3>' . t('About') . '</h3>'; |
| 19 | $output .= '<p>' . t('Create Drupal roles as part of an Authorization workflow.') . '</p>'; |
| 20 | return $output; |
| 21 | } |
| 22 | } |