function UnformattedSummary::defineOptions

Same name in other branches
  1. 9 core/modules/views/src/Plugin/views/style/UnformattedSummary.php \Drupal\views\Plugin\views\style\UnformattedSummary::defineOptions()
  2. 10 core/modules/views/src/Plugin/views/style/UnformattedSummary.php \Drupal\views\Plugin\views\style\UnformattedSummary::defineOptions()
  3. 11.x core/modules/views/src/Plugin/views/style/UnformattedSummary.php \Drupal\views\Plugin\views\style\UnformattedSummary::defineOptions()

Overrides DefaultSummary::defineOptions

File

core/modules/views/src/Plugin/views/style/UnformattedSummary.php, line 22

Class

UnformattedSummary
The default style plugin for summaries.

Namespace

Drupal\views\Plugin\views\style

Code

protected function defineOptions() {
    $options = parent::defineOptions();
    $options['inline'] = [
        'default' => FALSE,
    ];
    $options['separator'] = [
        'default' => '',
    ];
    return $options;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.