public function OAIPMH::preview in Views OAI-PMH 8
The DisplayPluginBase preview method assumes we will be returning a render array. The data plugin will already return the serialized string.
Overrides DisplayPluginBase::preview
File
- src/
Plugin/ views/ display/ OAIPMH.php, line 187
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\displayCode
public function preview() {
return $this->view
->render();
}