Modifying core modules.
Created 7 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  —  7 years ago

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

piterden  —  7 years ago

Also, your migrations could easily extend existing tables.

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