3 namespace Drupal\views\Plugin\views\display;
6 * Defines a display which returns a Response object.
8 * This interface is meant to be used for display plugins, which do return some
9 * other format requiring to return a response directly.
11 interface ResponseDisplayPluginInterface extends DisplayPluginInterface {
14 * Builds up a response with the rendered view as content.
16 * @param string $view_id
18 * @param string $display_id
21 * (optional) The arguments of the view.
23 * @return \Symfony\Component\HttpFoundation\Response
26 public static function buildResponse($view_id, $display_id, array $args = []);