public function EntityReference::optionsSummary

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

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

Overrides DisplayPluginBase::optionsSummary

File

drupal/core/modules/entity_reference/lib/Drupal/entity_reference/Plugin/views/display/EntityReference.php, line 78
Contains \Drupal\entity_reference\Plugin\views\display\EntityReference.

Class

EntityReference
The plugin that handles an EntityReference display.

Namespace

Drupal\entity_reference\Plugin\views\display

Code

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