Renders the content.

Parameters

$hide_emtpy If set to true, then the renderer should return an empty: array if there is no content to display, for example if the user does not have access to the requested content.

$args Used during an ajax call to pass in the settings necessary to: render this type of content.

6 methods override QuickContentRenderableInterface::render()
QuickBlockContent::render in src/Plugin/QuickContent/QuickBlockContent.php
Renders the content.
QuickCallbackContent::render in src/Plugin/QuickContent/QuickCallbackContent.php
Renders the content.
QuickNodeContent::render in src/Plugin/QuickContent/QuickNodeContent.php
Renders the content.
QuickPreRenderedContent::render in src/QuickPreRenderedContent.php
The render method simply returns the contents that were passed in and stored during construction.
QuickQtabsContent::render in src/Plugin/QuickContent/QuickQtabsContent.php
Renders the content.

... See full list

File

src/QuickContentRenderableInterface.php, line 37

Class

QuickContentRenderableInterface
Each QuickSet object has a "contents" property which is an array of objects that implement the QuickContentRenderableInterface.

Namespace

Drupal\quicktabs

Code

public function render($hide_empty = FALSE, $args = array());