How to hide subpanels in modules created with module builder?

Hey,

I’ve tried everything and it’s not working, i don’t know what to try anymore.

I created this file with this code in the /custom/extension/modules/clientsRZ/ext/layoutdefs/disable-subpanels.php but it’s not working.

<?php


unset($layout_defs["clientsRZ"]["subpanel_setup"]['notes']);


?>

I also did rebuild, but not working as well.

What can i do?

Thanks.