function hook_simplifying_hide_toolbar_tabs_alter in Simplifying 8
Alter to hide the toolbar tabs.
Parameters
array $tabs: List of toolbar tabs to be hidden.
1 invocation of hook_simplifying_hide_toolbar_tabs_alter()
- Toolbar::toolbarTabs in src/
Services/ Toolbar.php - Add changes for toolbar.
File
- ./
simplifying.api.php, line 48 - Document all supported APIs.
Code
function hook_simplifying_hide_toolbar_tabs_alter(array &$tabs) {
// Adding to the list of hiding your own tabs.
$tabs[] = 'my_tab';
}