Skip to content

Commit

Permalink
Resource factory changed to TranslatableFactory
Browse files Browse the repository at this point in the history
  • Loading branch information
fendrychl committed May 17, 2021
1 parent a37c45e commit e53b06f
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/Resources/config/resources/block.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ sylius_resource:
form: BitBag\SyliusCmsPlugin\Form\Type\BlockType
repository: BitBag\SyliusCmsPlugin\Repository\BlockRepository
controller: BitBag\SyliusCmsPlugin\Controller\BlockController
factory: Sylius\Component\Resource\Factory\TranslatableFactory
translation:
classes:
model: BitBag\SyliusCmsPlugin\Entity\BlockTranslation
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ sylius_resource:
interface: BitBag\SyliusCmsPlugin\Entity\FrequentlyAskedQuestionInterface
form: BitBag\SyliusCmsPlugin\Form\Type\FrequentlyAskedQuestionType
repository: BitBag\SyliusCmsPlugin\Repository\FrequentlyAskedQuestionRepository
factory: Sylius\Component\Resource\Factory\TranslatableFactory
translation:
classes:
model: BitBag\SyliusCmsPlugin\Entity\FrequentlyAskedQuestionTranslation
Expand Down
1 change: 1 addition & 0 deletions src/Resources/config/resources/media.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ sylius_resource:
form: BitBag\SyliusCmsPlugin\Form\Type\MediaType
repository: BitBag\SyliusCmsPlugin\Repository\MediaRepository
controller: BitBag\SyliusCmsPlugin\Controller\MediaController
factory: Sylius\Component\Resource\Factory\TranslatableFactory
translation:
classes:
model: BitBag\SyliusCmsPlugin\Entity\MediaTranslation
Expand Down
1 change: 1 addition & 0 deletions src/Resources/config/resources/page.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ sylius_resource:
form: BitBag\SyliusCmsPlugin\Form\Type\PageType
repository: BitBag\SyliusCmsPlugin\Repository\PageRepository
controller: BitBag\SyliusCmsPlugin\Controller\PageController
factory: Sylius\Component\Resource\Factory\TranslatableFactory
translation:
classes:
model: BitBag\SyliusCmsPlugin\Entity\PageTranslation
Expand Down
1 change: 1 addition & 0 deletions src/Resources/config/resources/section.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ sylius_resource:
interface: BitBag\SyliusCmsPlugin\Entity\SectionInterface
form: BitBag\SyliusCmsPlugin\Form\Type\SectionType
repository: BitBag\SyliusCmsPlugin\Repository\SectionRepository
factory: Sylius\Component\Resource\Factory\TranslatableFactory
translation:
classes:
model: BitBag\SyliusCmsPlugin\Entity\SectionTranslation
Expand Down

0 comments on commit e53b06f

Please sign in to comment.