You are here

function views_plugin_display_system::options_summary in Administration Views 7

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

Overrides views_plugin_display::options_summary().

Overrides views_plugin_display::options_summary

File

plugins/views_plugin_display_system.inc, line 76
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'),
  );

  // Disable the access plugin configuration in the UI.
  // @see option_definition()
  $categories['access']['build']['#access'] = FALSE;
  $path = strip_tags('/' . $this
    ->get_option('path'));
  if (empty($path)) {
    $path = t('None');
  }
  $options['path'] = array(
    'category' => 'system',
    'title' => t('Path'),
    'value' => views_ui_truncate($path, 24),
  );
}