public function ViewsMegarowController::__construct in Views Megarow 8
Constructs a new AjaxController instance.
Parameters
\Drupal\Core\Controller\ControllerResolverInterface $controller_resolver: The controller resolver.
\Drupal\Core\Ajax\AjaxResponseRenderer $ajax_renderer: The Ajax response renderer.
File
- src/
Controller/ ViewsMegarowController.php, line 40
Class
- ViewsMegarowController
- Default controller for Ajax requests.
Namespace
Drupal\views_megarow\ControllerCode
public function __construct(ControllerResolver $controller_resolver, ViewsMegarowResponseRenderer $views_megarow_renderer) {
$this->controllerResolver = $controller_resolver;
$this->viewsMegarowRenderer = $views_megarow_renderer;
}