public static function ResponseDisplayPluginInterface::buildResponse in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/views/src/Plugin/views/display/ResponseDisplayPluginInterface.php \Drupal\views\Plugin\views\display\ResponseDisplayPluginInterface::buildResponse()
Builds up a response with the rendered view as content.
Parameters
string $view_id: The view ID.
string $display_id: The display ID.
array $args: (optional) The arguments of the view.
Return value
\Symfony\Component\HttpFoundation\Response The built response.
2 methods override ResponseDisplayPluginInterface::buildResponse()
- Feed::buildResponse in core/
modules/ views/ src/ Plugin/ views/ display/ Feed.php - Builds up a response with the rendered view as content.
- RestExport::buildResponse in core/
modules/ rest/ src/ Plugin/ views/ display/ RestExport.php - Builds up a response with the rendered view as content.
File
- core/
modules/ views/ src/ Plugin/ views/ display/ ResponseDisplayPluginInterface.php, line 31 - Contains \Drupal\views\Plugin\views\display\ResponseDisplayPluginInterface.
Class
- ResponseDisplayPluginInterface
- Defines a display which returns a Response object.
Namespace
Drupal\views\Plugin\views\displayCode
public static function buildResponse($view_id, $display_id, array $args = []);