drupal-media /
media
These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more
| 1 | <?php |
||
| 2 | |||
| 3 | /** |
||
| 4 | * @file |
||
| 5 | * Contains media.module. |
||
| 6 | */ |
||
| 7 | |||
| 8 | use Drupal\Core\Routing\RouteMatchInterface; |
||
| 9 | |||
| 10 | /** |
||
| 11 | * Implements hook_help(). |
||
| 12 | */ |
||
| 13 | function media_help($route_name, RouteMatchInterface $route_match) { |
||
|
0 ignored issues
–
show
|
|||
| 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.