You are here

function vbo_export_help in VBO export 8.2

Same name and namespace in other branches
  1. 8.3 vbo_export.module \vbo_export_help()
  2. 8 vbo_export.module \vbo_export_help()
  3. 7 vbo_export.module \vbo_export_help()

Implements hook_help().

File

./vbo_export.module, line 52
Delivers an action to export view results to csv.

Code

function vbo_export_help($route_name, RouteMatchInterface $route_match) {
  switch ($route_name) {
    case 'help.page.vbo_export':
      $filepath = dirname(__FILE__) . '/README.md';
      if (file_exists($filepath)) {
        $readme = file_get_contents($filepath);
        $output = '<pre>' . $readme . '</pre>';
        return $output;
      }
  }
}