You are here

public function ImceFM::buildRenderPage in IMCE 8

Same name and namespace in other branches
  1. 8.2 src/ImceFM.php \Drupal\imce\ImceFM::buildRenderPage()

Builds and renders the file manager page.

1 call to ImceFM::buildRenderPage()
ImceFM::pageResponse in src/ImceFM.php
Returns a page response based on the current request.

File

src/ImceFM.php, line 686

Class

ImceFM
Imce File Manager.

Namespace

Drupal\imce

Code

public function buildRenderPage() {
  $page = $this
    ->buildPage();
  return \Drupal::service('bare_html_page_renderer')
    ->renderBarePage($page, $this
    ->t('File manager'), 'imce_page', [
    '#show_messages' => FALSE,
  ])
    ->getContent();
}