Renders the content.

Paramètres

$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 dans src/Plugin/QuickContent/QuickBlockContent.php
Renders the content.
QuickCallbackContent::render dans src/Plugin/QuickContent/QuickCallbackContent.php
Renders the content.
QuickNodeContent::render dans src/Plugin/QuickContent/QuickNodeContent.php
Renders the content.
QuickPreRenderedContent::render dans src/QuickPreRenderedContent.php
The render method simply returns the contents that were passed in and stored during construction.
QuickQtabsContent::render dans src/Plugin/QuickContent/QuickQtabsContent.php
Renders the content.

... See full list

Fichier

src/QuickContentRenderableInterface.php, line 37

Classe

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());