You are here

protected function VboExportBase::generateOutput in VBO export 8.2

Same name and namespace in other branches
  1. 8.3 src/Plugin/Action/VboExportBase.php \Drupal\vbo_export\Plugin\Action\VboExportBase::generateOutput()

Generate output string.

2 calls to VboExportBase::generateOutput()
VboExportBase::executeMultiple in src/Plugin/Action/VboExportBase.php
Execute multiple handler.
VboExportCsv::generateOutput in src/Plugin/Action/VboExportCsv.php
Override the generateOutput method.
1 method overrides VboExportBase::generateOutput()
VboExportCsv::generateOutput in src/Plugin/Action/VboExportCsv.php
Override the generateOutput method.

File

src/Plugin/Action/VboExportBase.php, line 62

Class

VboExportBase
Base class for export actions.

Namespace

Drupal\vbo_export\Plugin\Action

Code

protected function generateOutput() {
  $renderable = [
    '#theme' => static::THEME,
    '#header' => $this->context['sandbox']['header'],
    '#rows' => $this->context['sandbox']['rows'],
    '#configuration' => $this->configuration,
  ];
  return $this->renderer
    ->render($renderable);
}