public static function Page::setPageRenderArray in Drupal 8
Same name and namespace in other branches
- 9 core/modules/views/src/Plugin/views/display/Page.php \Drupal\views\Plugin\views\display\Page::setPageRenderArray()
Sets the current page views render array.
Parameters
array $element: (optional) A render array. If not specified the previous element is returned.
Return value
array The page render array.
1 call to Page::setPageRenderArray()
- ViewPageController::handle in core/
modules/ views/ src/ Routing/ ViewPageController.php - Handler a response for a given view and display.
File
- core/
modules/ views/ src/ Plugin/ views/ display/ Page.php, line 109
Class
- Page
- The plugin that handles a full page.
Namespace
Drupal\views\Plugin\views\displayCode
public static function &setPageRenderArray(array &$element = NULL) {
if (isset($element)) {
static::$pageRenderArray =& $element;
}
return static::$pageRenderArray;
}