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