You are here

function vbo_hide_plugin_display_extender::options_summary in VBO Hide 7

Provide the summary for attachment options in the views UI.

This output is returned as an array.

Overrides views_plugin_display_extender::options_summary

File

views/vbo_hide_plugin_display_extender.inc, line 63
Views plugin handler. Contains all relevant options and related logic. Implements the Views Form API.

Class

vbo_hide_plugin_display_extender
@file Views plugin handler. Contains all relevant options and related logic. Implements the Views Form API.

Code

function options_summary(&$categories, &$options) {

  // Call parent method so that default functionality does not override.
  parent::options_summary($categories, $options);
  $vbo_hide = check_plain(trim($this->display
    ->get_option('vbo_hide')));
  $options['vbo_hide'] = array(
    'category' => 'other',
    'title' => t('Hide VBO'),
    'value' => $vbo_hide == 1 ? t('Yes') : t('No'),
    'desc' => t('Change whether or not to display Views Bulk Operations options for this View.'),
  );
}