view core/modules/action/action.views_execution.inc @ 5:c69a71b4f40f

Add slideshow module
author Chris Cannam
date Thu, 07 Dec 2017 14:46:23 +0000
parents 4c8ae668cc8c
children
line wrap: on
line source
<?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),
  ];
}