You are here

function views_bulk_operations_handler_field_operations::label in Views Bulk Operations (VBO) 7.3

If the view is using a table style, provide a placeholder for a "select all" checkbox.

Overrides views_handler_field::label

File

views/views_bulk_operations_handler_field_operations.inc, line 266
Views field handler. Contains all relevant VBO options and related logic. Implements the Views Form API.

Class

views_bulk_operations_handler_field_operations
@file Views field handler. Contains all relevant VBO options and related logic. Implements the Views Form API.

Code

function label() {
  if (!empty($this->view->style_plugin) && $this->view->style_plugin instanceof views_plugin_style_table && !$this->options['vbo_settings']['force_single']) {
    return '<!--views-bulk-operations-select-all-->';
  }
  else {
    return parent::label();
  }
}