Conditions | 2 |
Paths | 2 |
Total Lines | 12 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
13 | function media_help($route_name, RouteMatchInterface $route_match) { |
||
|
|||
14 | switch ($route_name) { |
||
15 | // Main module help for the media module. |
||
16 | case 'help.page.media': |
||
17 | $output = ''; |
||
18 | $output .= '<h3>' . t('About') . '</h3>'; |
||
19 | $output .= '<p>' . t('Media module for Drupal 8') . '</p>'; |
||
20 | return $output; |
||
21 | |||
22 | default: |
||
23 | } |
||
24 | } |
||
25 | |||
26 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.