Drupal investigation

action.views_execution.inc 410B

123456789101112131415161718192021
  1. <?php
  2. /**
  3. * @file
  4. * Provides views runtime hooks for action.module.
  5. */
  6. /**
  7. * Implements hook_views_form_substitutions().
  8. */
  9. function action_views_form_substitutions() {
  10. $select_all = [
  11. '#type' => 'checkbox',
  12. '#default_value' => FALSE,
  13. '#attributes' => ['class' => ['action-table-select-all']],
  14. ];
  15. return [
  16. '<!--action-bulk-form-select-all-->' => drupal_render($select_all),
  17. ];
  18. }