Same name in other branches
  1. 7.x-3.x quicktabs.classes.inc \QuickPreRenderedContent::render()

The render method simply returns the contents that were passed in and stored during construction.

Overrides QuickContentRenderableInterface::render

File

src/QuickPreRenderedContent.php, line 74

Class

QuickPreRenderedContent
This class implements the same interface that content plugins do but it is not a content plugin. It is a special class for pre-rendered content which is used when "custom" tabs are added to existing Quicktabs instances in a call…

Namespace

Drupal\quicktabs

Code

public function render($hide_empty = FALSE, $args = array()) {
    return $this->rendered_content;
}