You are here

function views_plugin_display_system::options_summary in Administration Views 6

Same name and namespace in other branches
  1. 7 plugins/views_plugin_display_system.inc \views_plugin_display_system::options_summary()

Provide the summary for page options in the views UI.

This output is returned as an array.

File

plugins/views_plugin_display_system.inc, line 139
System display plugin.

Class

views_plugin_display_system
Plugin to handle replacement of existing system paths.

Code

function options_summary(&$categories, &$options) {
  parent::options_summary($categories, $options);
  $categories['system'] = array(
    'title' => t('System path settings'),
  );
  $path = $this
    ->get_option('path');
  if (empty($path)) {
    $path = t('None');
  }
  else {
    $path = truncate_utf8($path, 17, FALSE, TRUE);
  }
  $options['path'] = array(
    'category' => 'system',
    'title' => t('Path'),
    'value' => check_plain($path),
  );
}