You are here

public function EntityReferenceRevisions::optionsSummary in Entity Reference Revisions 8

Overrides \Drupal\views\Plugin\views\display\DisplayPluginBase::optionsSummary().

Disable 'cache' and 'title' so it won't be changed.

Overrides DisplayPluginBase::optionsSummary

File

src/Plugin/views/display/EntityReferenceRevisions.php, line 73

Class

EntityReferenceRevisions
The plugin that handles an EntityReferenceRevisions display.

Namespace

Drupal\entity_reference_revisions\Plugin\views\display

Code

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