Same name in other branches
- 8.x-3.x src/Plugin/Block/QuickTabsBlock.php \Drupal\quicktabs\Plugin\Block\QuickTabsBlock::build()
File
-
src/
Plugin/ Block/ QuickTabsBlock.php, line 56
Class
- 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();
}