How to remove a create button?
Created 1 year ago by zaqupl

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

zaqupl  —  1 year 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  —  1 year 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 😊