Overrides \Drupal\views\Plugin\views\display\DisplayPluginBase::optionsSummary().
Overrides DisplayPluginBase::optionsSummary
public function optionsSummary(&$categories, &$options) {
parent::optionsSummary($categories, $options);
$categories['page'] = array(
'title' => t('Page settings'),
'column' => 'second',
'build' => array(
'#weight' => -10,
),
);
$path = strip_tags($this
->getOption('path'));
if (empty($path)) {
$path = t('No path is set');
}
else {
$path = '/' . $path;
}
$options['path'] = array(
'category' => 'page',
'title' => t('Path'),
'value' => views_ui_truncate($path, 24),
);
}