You are here

public function ViewsAccordion::render in Views Accordion 8

Same name and namespace in other branches
  1. 2.0.x src/Plugin/views/style/ViewsAccordion.php \Drupal\views_accordion\Plugin\views\style\ViewsAccordion::render()

Render the display in this style.

Overrides StylePluginBase::render

File

src/Plugin/views/style/ViewsAccordion.php, line 308

Class

ViewsAccordion
Style plugin to render each item in an ordered or unordered list.

Namespace

Drupal\views_accordion\Plugin\views\style

Code

public function render() {
  $rows = parent::render();
  $output = [
    '#theme' => $this
      ->themeFunctions(),
    '#view' => $this->view,
    '#options' => $this->options,
    '#rows' => $rows,
  ];
  return $output;
}