You are here

function references_dialog_plugin_display::options_summary in References dialog 7

Provide the default summary for options in the views UI.

This output is returned as an array.

Overrides views_plugin_display::options_summary

File

views/references_dialog_plugin_display.inc, line 30
Contains the default display plugin.

Class

references_dialog_plugin_display
A plugin to handle defaults on a view.

Code

function options_summary(&$categories, &$options) {
  parent::options_summary($categories, $options);
  $categories['references_dialog'] = array(
    'title' => t('References Dialog'),
    'column' => 'second',
    'build' => array(
      '#weight' => -10,
    ),
  );
  $attachables = $this
    ->get_option('attach');
  $options['attach'] = array(
    'category' => 'references_dialog',
    'title' => t('Attached to'),
    'value' => views_ui_truncate(implode(',', $attachables), 24),
  );
}