You are here

public function EntityBrowser::optionsSummary in Entity Browser 8

Same name and namespace in other branches
  1. 8.2 src/Plugin/views/display/EntityBrowser.php \Drupal\entity_browser\Plugin\views\display\EntityBrowser::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/EntityBrowser.php, line 75

Class

EntityBrowser
The plugin that handles entity browser display.

Namespace

Drupal\entity_browser\Plugin\views\display

Code

public function optionsSummary(&$categories, &$options) {
  parent::optionsSummary($categories, $options);
  if (isset($options['use_ajax'])) {
    $options['use_ajax']['value'] = $this
      ->t('Yes (Forced)');
  }
}