You are here

public static function Imce::response in IMCE 8

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

Returns a response for an imce request.

1 call to Imce::response()
ImceController::page in src/Controller/ImceController.php
Handles requests to /imce/{scheme} path.

File

src/Imce.php, line 25

Class

Imce
Imce container class for helper methods.

Namespace

Drupal\imce

Code

public static function response(Request $request, AccountProxyInterface $user = NULL, $scheme = NULL) {
  return static::userFM($user, $scheme, $request)
    ->pageResponse();
}