You are here

function views_rss_media_help in Views RSS: Media (MRSS) Elements 7

Implements hook_help().

File

./views_rss_media.module, line 26
Provides Media RSS namespace, <channel> and <item> elements for Views RSS module.

Code

function views_rss_media_help($path, $arg) {
  switch ($path) {
    case 'admin/help#views_rss_media':
      $output = '<p>' . t('This project provides media elements for the <strong>Views RSS</strong> project.') . '</p>';
      if (function_exists('advanced_help_hint_docs')) {
        $output .= '<p>' . advanced_help_hint_docs('views_rss_media', 'https://www.drupal.org/docs/7/modules/views-rss-media-mrss-elements', TRUE) . '</p>';
      }
      else {
        $output .= '<p>' . t('If you install and enable the module <strong>!url</strong>, you will get more help for <strong>Views RSS: Media Elements</strong>.', array(
          '!url' => l('Advanced Help Hint', 'https://www.drupal.org/project/advanced_help_hint'),
        )) . '</p>';
      }
      return $output;
  }
}