Same name in other branches
  1. 8.x-1.x src/QuickPreRenderedContent.php \Drupal\quicktabs\QuickPreRenderedContent::render()

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

Overrides QuickContentRenderable::render

Fichier

./quicktabs.classes.inc, line 526

Classe

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…

Code

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