You are here

function mixitup_views_help in MixItUp Views 7

Same name and namespace in other branches
  1. 8.2 mixitup_views.module \mixitup_views_help()
  2. 8 mixitup_views.module \mixitup_views_help()

Implements hook_help().

File

./mixitup_views.module, line 428
Provides a Views style plugin for displaying content with Mixitup filtering.

Code

function mixitup_views_help($path, $arg) {
  switch ($path) {
    case 'admin/help#mixitup_views':
      $path = dirname(__FILE__) . '/README.txt';
      if (file_exists($path)) {
        $readme = file_get_contents($path);
      }
      if (!isset($readme)) {
        return NULL;
      }
      $output = '<pre>' . $readme . '</pre>';
      return $output;
  }
}