You are here

public function FlmngrController::flmngr in N1ED - Visual editor as CKEditor plugin with Bootstrap support 8.2

Calls file manager server side and returns a result to client.

1 string reference to 'FlmngrController::flmngr'
n1ed.routing.yml in ./n1ed.routing.yml
n1ed.routing.yml

File

src/Controller/FlmngrController.php, line 54

Class

FlmngrController
Provides route responses for Flmngr file manager.

Namespace

Drupal\n1ed\Controller

Code

public function flmngr() {
  FlmngrServer::flmngrRequest([
    'dirFiles' => $this->fileSystem
      ->realpath('public://flmngr'),
    'dirTmp' => $this->fileSystem
      ->realpath('public://flmngr-tmp'),
    'dirCache' => $this->fileSystem
      ->realpath('public://flmngr-cache'),
  ], $this->requestStack);
  return new Response();
}