You are here

public function elFinderPageController::getBrowserPage in elFinder file manager 8.2

1 string reference to 'elFinderPageController::getBrowserPage'
elfinder.routing.yml in ./elfinder.routing.yml
elfinder.routing.yml

File

src/Controller/elFinderPageController.php, line 53

Class

elFinderPageController

Namespace

Drupal\elfinder\Controller

Code

public function getBrowserPage($scheme, Request $request, RouteMatchInterface $route_match) {
  $build = array();
  $build['elfinder-admin-container'] = $this
    ->buildBrowserPage(TRUE);

  // $build['elfinder-admin-container']['#markup'] = t('<div id="finder"></div>');
  $build['elfinder-admin-container']['#theme'] = 'browser_page';
  return $build;
}