You are here

public function OAIPMH::optionsSummary in Views OAI-PMH 8

Provides the default summary for options in the views UI.

This output is returned as an array.

Overrides PathPluginBase::optionsSummary

File

src/Plugin/views/display/OAIPMH.php, line 111

Class

OAIPMH
Plugin annotation @ViewsDisplay( id = "views_oai_pmh_display", title = @Translation("OAI-PMH Views"), help = @Translation("Provide a feed using the OAI-PMH protocol."), uses_route = TRUE, admin = @Translation("OAI-PMH Views"), …

Namespace

Drupal\views_oai_pmh\Plugin\views\display

Code

public function optionsSummary(&$categories, &$options) {
  parent::optionsSummary($categories, $options);
  $categories['page']['title'] = $this
    ->t('OAI-PMH settings');
  $categories['title']['title'] = $this
    ->t('Repository name');
  $options['title']['title'] = $this
    ->t('Repository name');
}