public function AdminController::__construct in Search API sorts 8
AdminController constructor.
Parameters
\Symfony\Component\HttpFoundation\RequestStack $requestStack: The request stack.
\Drupal\search_api\Display\DisplayPluginManagerInterface $search_api_display_manager: The Search API display manager.
File
- src/
Controller/ AdminController.php, line 45
Class
- AdminController
- Class AdminController.
Namespace
Drupal\search_api_sorts\ControllerCode
public function __construct(RequestStack $requestStack, DisplayPluginManagerInterface $search_api_display_manager) {
$this->currentRequest = $requestStack
->getCurrentRequest();
$this->searchApiDisplayManager = $search_api_display_manager;
}