function views_bulk_operations_help in Views Bulk Operations (VBO) 8
Same name and namespace in other branches
- 8.3 views_bulk_operations.module \views_bulk_operations_help()
- 8.2 views_bulk_operations.module \views_bulk_operations_help()
- 5 views_bulk_operations.module \views_bulk_operations_help()
- 4.0.x views_bulk_operations.module \views_bulk_operations_help()
Implements hook_help().
File
- ./
views_bulk_operations.module, line 26 - Allows operations to be performed on items selected in a view.
Code
function views_bulk_operations_help($route_name, RouteMatchInterface $route_match) {
switch ($route_name) {
case 'help.page.views_bulk_operations':
$filepath = dirname(__FILE__) . '/README.txt';
if (file_exists($filepath)) {
$readme = file_get_contents($filepath);
$output = '<pre>' . $readme . '</pre>';
return $output;
}
}
}