comparison core/modules/action/action.views_execution.inc @ 0:c75dbcec494b

Initial commit from drush-created site
author Chris Cannam
date Thu, 05 Jul 2018 14:24:15 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:c75dbcec494b
1 <?php
2
3 /**
4 * @file
5 * Provides views runtime hooks for action.module.
6 */
7
8 /**
9 * Implements hook_views_form_substitutions().
10 */
11 function action_views_form_substitutions() {
12 $select_all = [
13 '#type' => 'checkbox',
14 '#default_value' => FALSE,
15 '#attributes' => ['class' => ['action-table-select-all']],
16 ];
17 return [
18 '<!--action-bulk-form-select-all-->' => \Drupal::service('renderer')->render($select_all),
19 ];
20 }