Modifying core modules.

azraai - 2 months ago

Hi, I need override some table and form in core modules. Eg. add boolean fields to post or add image to menu links. Is there any recommendation to override the streams settings without editing the core file directly.

Thanks

piterden - 2 months ago

Yes. You could add bindings to the Service Provider of your addon to achieve this.

piterden - 2 months ago

Also, your migrations could easily extend existing tables.

azraai - 2 months ago

I understood I can use service provider binding to modify PostEntryFormSections.

For the migration, I can use normal Laravel migration or is the any specific way to add fields for streams module.