1234567891011121314151617181920 |
- <?php
- /**
- * @file
- * Provides views runtime hooks for action.module.
- */
- /**
- * Implements hook_views_form_substitutions().
- */
- function action_views_form_substitutions() {
- $select_all = [
- '#type' => 'checkbox',
- '#default_value' => FALSE,
- '#attributes' => ['class' => ['action-table-select-all']],
- ];
- return [
- '<!--action-bulk-form-select-all-->' => \Drupal::service('renderer')->render($select_all),
- ];
- }
|