public function BlockTab::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/ BlockTab.php, line 64
Class
- BlockTab
- Block tab.
Namespace
Drupal\blocktabs\Plugin\TabCode
public function addTab(BlocktabsInterface $blocktabs) {
return TRUE;
}