nystudio107 / generator-craftplugin

generator-craftplugin is a Yeoman generator for Craft CMS plugins
MIT License
74 stars 30 forks source link

Move `hasCpSettings` and `hasCpSection` to plugin class #94

Closed mattstein closed 4 years ago

mattstein commented 4 years ago

Removes these settings from composer.json and instead defines them with public properties on the Plugin class. The Composer route has caused some confusion and using class properties is a bit more straightforward.

lindseydiloreto commented 4 years ago

Nice work @mattstein! Should help cut down on confusion for beginners. 🍺

khalwat commented 4 years ago

Thank you sir!