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 [
|
Revert "Issue #2704871 by pepegarciag, ieguskiza, snehi, gaurav.pahuja, rajeshwari10, dimaro, gargsuchi, pashupathi nath gajawada, penyaskito, Manuel Garcia, Mile23: Replace usages of deprecated method drupal render()"
This reverts commit ae3ee317515a5ce5c3540a9ddcb481f30f04265c.
2016-12-12 19:03:21 +00:00
|
|
|
'<!--action-bulk-form-select-all-->' => drupal_render($select_all),
|
2017-03-04 01:20:24 +00:00
|
|
|
];
|
2013-04-10 20:12:01 +00:00
|
|
|
}
|