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

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

zaqupl  —  6 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  —  6 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 😊