You are here

private function MultiNodeAddController::renderBarePage in Multi Node Add 8

Renders a bare page for the iFrame.

@todo: get rid of symfony exception @todo: make sure that status messages are printed

1 call to MultiNodeAddController::renderBarePage()
MultiNodeAddController::statusPage in src/Controller/MultiNodeAddController.php
Status page after the node creation.

File

src/Controller/MultiNodeAddController.php, line 84

Class

MultiNodeAddController
Controller for Multi Node Add.

Namespace

Drupal\multi_node_add\Controller

Code

private function renderBarePage($output) {
  $render = [
    '#type' => 'page',
    '#page_object' => drupal_render($output),
  ];
  $render['#attached']['library'][] = 'multi_node_add/multi_node_add';
  return $render;
}