1 views_handler_field_bulk_form.inc views_handler_field_bulk_form::pre_render(&$values)

Overrides views_handler_field::pre_render().

Overrides views_handler_field::pre_render

File

core/modules/views/handlers/views_handler_field_bulk_form.inc, line 73
Definition of views_handler_field_bulk_form.

Class

views_handler_field_bulk_form
Defines a actions-based bulk operation form element.

Code

function pre_render(&$values) {
  parent::pre_render($values);

  // If the view is using a table style, provide a placeholder for a
  // "select all" checkbox.
  if (!empty($this->view->style_plugin) && $this->view->style_plugin instanceof views_plugin_style_table) {
    // Add the tableselect css classes.
    $this->options['element_label_class'] .= 'select-all';
    // Hide the actual label of the field on the table header.
    $this->options['label'] = '';
  }
}