Same name in other branches
- 8.x-3.x src/Entity/QuickTabsInstance.php \Drupal\quicktabs\Entity\QuickTabsInstance::getRenderArray()
Returns a render array to be used in a block or page.
Return value
array A render array.
Fichier
-
src/
Entity/ QuickTabsInstance.php, line 156
Classe
- QuickTabsInstance
- Defines the QuickTabsInstance entity.
Namespace
Drupal\quicktabs\EntityCode
public function getRenderArray() {
$type = \Drupal::service('plugin.manager.tab_renderer');
$renderer = $type->createInstance($this->getRenderer());
\Drupal::moduleHandler()->alter('quicktabs_instance', $this);
return $renderer->render($this);
}