You are here

function video_embed_html5_help in Video Embed HTML5 8

Implements hook_help().

File

./video_embed_html5.module, line 8

Code

function video_embed_html5_help($route_name, RouteMatchInterface $route_match) {
  switch ($route_name) {
    case 'help.page.video_embed_html5':
      $output = file_get_contents(drupal_get_path('module', 'video_embed_html5') . '/README.md');
      return '<pre>' . $output . '</pre>';
      break;
    default:
  }
}