Same name in other branches
- 4.x src/Plugin/Block/QuickTabsBlock.php \Drupal\quicktabs\Plugin\Block\QuickTabsBlock::build()
Fichier
-
src/
Plugin/ Block/ QuickTabsBlock.php, line 56
Classe
- QuickTabsBlock
- Provides a 'QuickTabs' block.
Namespace
Drupal\quicktabs\Plugin\BlockCode
public function build() {
$qt_id = $this->getDerivativeId();
$qt = $this->entityTypeManager
->getStorage('quicktabs_instance')
->load($qt_id);
return $qt->getRenderArray();
}