public static function Page::setPageRenderArray in Views PDF 8
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.
Overrides Page::setPageRenderArray
File
- src/
Plugin/ views/ display/ Page.php, line 393 - Contains \Drupal\views_pdf\Plugin\views\display\Page.
Class
- Page
- This class contains all the functionality of the PDF display.
Namespace
Drupal\views_pdf\Plugin\views\displayCode
public static function &setPageRenderArray(array &$element = NULL) {
if (isset($element)) {
static::$pageRenderArray =& $element;
}
return static::$pageRenderArray;
}