public function ImceFM::__construct in IMCE 8
Same name and namespace in other branches
- 8.2 src/ImceFM.php \Drupal\imce\ImceFM::__construct()
Constructs the file manager.
Parameters
array $conf: File manager configuration.
\Drupal\Core\Session\AccountProxyInterface $user: The active user.
\Symfony\Component\HttpFoundation\Request $request: The active request that contains parameters for file manager operations.
File
- src/
ImceFM.php, line 101
Class
- ImceFM
- Imce File Manager.
Namespace
Drupal\imceCode
public function __construct(array $conf, AccountProxyInterface $user = NULL, Request $request = NULL) {
$this->conf = $conf;
$this->user = $user ?: \Drupal::currentUser();
$this->request = $request;
$this
->init();
}