function PathPluginBase::optionsSummary
Overrides DisplayPluginBase::optionsSummary
3 calls to PathPluginBase::optionsSummary()
- Feed::optionsSummary in core/modules/ views/ src/ Plugin/ views/ display/ Feed.php 
- Page::optionsSummary in core/modules/ views/ src/ Plugin/ views/ display/ Page.php 
- RestExport::optionsSummary in core/modules/ rest/ src/ Plugin/ views/ display/ RestExport.php 
3 methods override PathPluginBase::optionsSummary()
- Feed::optionsSummary in core/modules/ views/ src/ Plugin/ views/ display/ Feed.php 
- Page::optionsSummary in core/modules/ views/ src/ Plugin/ views/ display/ Page.php 
- RestExport::optionsSummary in core/modules/ rest/ src/ Plugin/ views/ display/ RestExport.php 
File
- 
              core/modules/ views/ src/ Plugin/ views/ display/ PathPluginBase.php, line 396 
Class
- PathPluginBase
- The base display plugin for path/callbacks. This is used for pages and feeds.
Namespace
Drupal\views\Plugin\views\displayCode
public function optionsSummary(&$categories, &$options) {
  parent::optionsSummary($categories, $options);
  $categories['page'] = [
    'title' => $this->t('Page settings'),
    'column' => 'second',
    'build' => [
      '#weight' => -10,
    ],
  ];
  $path = strip_tags($this->getOption('path'));
  if (empty($path)) {
    $path = $this->t('No path is set');
  }
  else {
    $path = '/' . $path;
  }
  $options['path'] = [
    'category' => 'page',
    'title' => $this->t('Path'),
    'value' => Unicode::truncate($path, 24, FALSE, TRUE),
  ];
}Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
