views_bulk_edit.module 543 B

123456789101112131415161718192021222324
  1. <?php
  2. /**
  3. * @file
  4. * Allows modification of field values of entities selected in a view.
  5. */
  6. use Drupal\Core\Routing\RouteMatchInterface;
  7. /**
  8. * Implements hook_help().
  9. */
  10. function views_bulk_edit_help($route_name, RouteMatchInterface $route_match) {
  11. switch ($route_name) {
  12. case 'help.page.views_bulk_edit':
  13. $filepath = dirname(__FILE__) . '/README.txt';
  14. if (file_exists($filepath)) {
  15. $readme = file_get_contents($filepath);
  16. $output = '<pre>' . $readme . '</pre>';
  17. return $output;
  18. }
  19. }
  20. }