You are here

public function SubTreeController::__construct in Term Reference Fancytree 8

Same name and namespace in other branches
  1. 8.2 src/Controller/SubTreeController.php \Drupal\term_reference_fancytree\Controller\SubTreeController::__construct()

Constructs a SubTreeController object.

Parameters

\Symfony\Component\HttpFoundation\Request $request: The current request.

File

src/Controller/SubTreeController.php, line 31

Class

SubTreeController
Exposes a list of terms to any JS library via JSON.

Namespace

Drupal\term_reference_fancytree\Controller

Code

public function __construct(Request $request) {
  $this->request = $request;
}