Skip to content

Commit

Permalink
Update SectionAndProductType.php
Browse files Browse the repository at this point in the history
  • Loading branch information
wmdhosting authored Feb 24, 2021
1 parent e233d98 commit f02cc13
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/SectionAndProductType.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
use craft\services\Plugins;
use craft\events\PluginEvent;
use craft\events\RegisterComponentTypesEvent;
use wmd\sectionandproducttype\fields\SectionField ;
use wmd\sectionandproducttype\fields\SectionField;
use wmd\sectionandproducttype\fields\TagGroupField;
use wmd\sectionandproducttype\fields\ProductTypeField;


Expand Down Expand Up @@ -49,6 +50,7 @@ public function init()
function (RegisterComponentTypesEvent $event) {
$event->types[] = SectionField::class;
$event->types[] = ProductTypeField::class;
$event->types[] = TagGroupField::class;
}
);

Expand Down

0 comments on commit f02cc13

Please sign in to comment.