You are here

public function JsonFeed::optionsSummary in JSON Feed 8

Provides the default summary for options in the views UI.

This output is returned as an array.

Overrides Feed::optionsSummary

File

src/Plugin/views/display/JsonFeed.php, line 104

Class

JsonFeed
The plugin that handles a JSON feed.

Namespace

Drupal\json_feed\Plugin\views\display

Code

public function optionsSummary(&$categories, &$options) {
  parent::optionsSummary($categories, $options);
  unset($categories['exposed']);

  // Hide some settings, as they aren't useful for pure data output.
  unset($options['show_admin_links']);
  unset($options['analyze-theme']);
  unset($options['exposed_form']);
  unset($options['exposed_block']);
  unset($options['css_class']);
}