2013-04-10 20:12:01 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @file
|
|
|
|
* Provides views runtime hooks for action.module.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Implements hook_views_form_substitutions().
|
|
|
|
*/
|
|
|
|
function action_views_form_substitutions() {
|
2017-03-04 01:20:24 +00:00
|
|
|
$select_all = [
|
2013-04-10 20:12:01 +00:00
|
|
|
'#type' => 'checkbox',
|
|
|
|
'#default_value' => FALSE,
|
2017-03-04 01:20:24 +00:00
|
|
|
'#attributes' => ['class' => ['action-table-select-all']],
|
|
|
|
];
|
|
|
|
return [
|
Issue #2704871 by pepegarciag, Mile23, Manuel Garcia, ieguskiza, snehi, gaurav.pahuja, dimaro, rajeshwari10, gargsuchi, pashupathi nath gajawada, penyaskito, xjm, ZeiP, Wim Leers, alexpott: Replace usages of deprecated method drupal_render()
2017-07-03 15:35:13 +00:00
|
|
|
'<!--action-bulk-form-select-all-->' => \Drupal::service('renderer')->render($select_all),
|
2017-03-04 01:20:24 +00:00
|
|
|
];
|
2013-04-10 20:12:01 +00:00
|
|
|
}
|