Modifying core modules.
Created 3 years ago by azraai

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  —  3 years ago

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

piterden  —  3 years ago

Also, your migrations could easily extend existing tables.

azraai  —  3 years 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.