You are here

public function GraphQL::optionsSummary in GraphQL 8

Same name and namespace in other branches
  1. 8.2 src/Plugin/views/display/GraphQL.php \Drupal\graphql\Plugin\views\display\GraphQL::optionsSummary()

Provides the default summary for options in the views UI.

This output is returned as an array.

Overrides DisplayPluginBase::optionsSummary

File

src/Plugin/views/display/GraphQL.php, line 96

Class

GraphQL
Provides a display plugin for GraphQL views.

Namespace

Drupal\graphql\Plugin\views\display

Code

public function optionsSummary(&$categories, &$options) {
  parent::optionsSummary($categories, $options);
  unset($categories['format'], $categories['fields'], $categories['title']);
  unset($categories['page'], $categories['exposed'], $categories['access']);
  unset($options['show_admin_links'], $options['analyze-theme'], $options['link_display']);
  unset($options['show_admin_links'], $options['analyze-theme'], $options['link_display']);
  unset($options['style'], $options['row'], $options['title'], $options['access']);
  unset($options['exposed_form'], $options['exposed_block'], $options['css_class']);
  unset($options['query'], $options['group_by']);
}