You are here

public function DrupalTableExporter::compile in Loft Data Grids 8

File

src/DrupalTableExporter.php, line 28

Class

DrupalTableExporter
Class DrupalTableExporter

Namespace

Drupal\loft_data_grids

Code

public function compile($page_id = null) {
  $build = $this
    ->build($page_id);
  $this->output = \Drupal::service("renderer")
    ->render($build);
  return $this;
}