How to remove a create button?
Created 2 years ago by zaqupl

Hi, How can I remove a create button from all views in my module?

zaqupl  —  2 years ago Best Answer

I found a solution. In /addons/.../.../my-module/src/MyModule.php I removed an array from $sections field. It was auto-generated code,

ryanthompson  —  2 years ago

Yep feel free to change any and all of that auto generated code.

I usually try and squeeze a lot of common sense defaults and examples in there is all 😊