Add missing line to remove a tab in modulebuilder

This commit is contained in:
Laurent Destailleur 2021-10-06 13:33:13 +02:00
parent ea3e3b133d
commit b630b15991

View File

@ -60,7 +60,9 @@ function mymoduleAdminPrepareHead()
//$this->tabs = array(
// 'entity:-tabname:Title:@mymodule:/mymodule/mypage.php?id=__ID__'
//); // to remove a tab
complete_head_from_modules($conf, $langs, null, $head, $h, 'mymodule');
complete_head_from_modules($conf, $langs, null, $head, $h, 'mymodule@mymodule');
complete_head_from_modules($conf, $langs, $object, $head, $h, 'mymodule@mymodule', 'remove');
return $head;
}