You are here

function flag_lists_handler_field_ops::label in Flag Lists 7

Same name and namespace in other branches
  1. 7.3 includes/flag_lists_handler_field_ops.inc \flag_lists_handler_field_ops::label()

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

Overrides views_handler_field::label

File

includes/flag_lists_handler_field_ops.inc, line 49

Class

flag_lists_handler_field_ops

Code

function label() {
  if ($this->view->style_plugin instanceof views_plugin_style_table && !$this->options['flo']['force_single']) {
    return '<!--flag-lists-ops-select-all-->';
  }
  else {
    return parent::label();
  }
}