You are here

function youtube_help in YouTube Field 7

Implements hook_help().

File

./youtube.module, line 13

Code

function youtube_help($path, $arg) {
  switch ($path) {
    case 'admin/help#youtube':
      $output = '';
      $output .= '<h3>' . t('About') . '</h3>';
      $output .= '<p>' . t('The YouTube field module provides a simple field that allows you to add a youtube video to a content type, user, or any other Drupal entity.') . '</p>';
      $output .= '<p>' . t('For more information, see the <a href=":url">Youtube Field module</a>.', array(
        ':url' => 'https://www.drupal.org/project/youtube',
      )) . '</p>';
      $output .= '<h3>' . t('Uses') . '</h3>';
      $output .= '<h5>' . t('The module provides following Display Types:') . '</h5>';
      $output .= '<dl>';
      $output .= '<dt><strong>' . t('YouTube videos of various sizes') . '</strong></dt>';
      $output .= '<dd>' . t('This includes a responsive option that expands the player to the width of its container.') . '</dd>';
      $output .= '<dt><strong>' . t('YouTube thumbnails displayed with image styles') . '</strong></dt>';
      $output .= '<dd>' . t('These thumbnails can be linked to the content, YouTube page, or the video player in a Colorbox window.') . '</dd>';
      $output .= '</dl>';
      return $output;
  }
}