public function ViewsTab::addTab in Block Tabs 8
Applies a tab to the blocktabs.
Parameters
\Drupal\blocktabs\BlocktabsInterface $blocktabs: An blocktabs object.
Return value
bool TRUE on success. FALSE if unable to add the tab to the blocktabs.
Overrides TabInterface::addTab
File
- src/
Plugin/ Tab/ ViewsTab.php, line 26
Class
- ViewsTab
- Views tab.
Namespace
Drupal\blocktabs\Plugin\TabCode
public function addTab(BlocktabsInterface $blocktabs) {
return TRUE;
}