You are here

function media_help in D7 Media 8

Same name and namespace in other branches
  1. 7.4 media.module \media_help()
  2. 7 media.module \media_help()
  3. 7.2 media.module \media_help()
  4. 7.3 media.module \media_help()

Implements hook_help().

File

./media.module, line 15
Contains media.module.

Code

function media_help($route_name, RouteMatchInterface $route_match) {
  switch ($route_name) {

    // Main module help for the media module.
    case 'help.page.media':
      $output = '';
      $output .= '<h3>' . t('About') . '</h3>';
      $output .= '<p>' . t('Media module for Drupal 8') . '</p>';
      return $output;
    default:
  }
}