You are here

function views_bulk_edit_help in Views Bulk Edit 8.2

Implements hook_help().

File

./views_bulk_edit.module, line 13
Allows modification of field values of entities selected in a view.

Code

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