mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-14 17:10:53 +00:00
Move aliases to CoreBundle
This commit is contained in:
parent
d396c04c37
commit
c8fef88e0d
3 changed files with 8 additions and 2 deletions
|
|
@ -137,6 +137,10 @@
|
||||||
|
|
||||||
We recommend using the new aliases introduced in Sylius 1.14 to ensure compatibility with Sylius 2.0.
|
We recommend using the new aliases introduced in Sylius 1.14 to ensure compatibility with Sylius 2.0.
|
||||||
|
|
||||||
|
1. The following class definitions will be moved to `CoreBundle` in Sylius 2.0:
|
||||||
|
- `Sylius\Bundle\PromotionBundle\Form\Type\CatalogPromotionAction\PercentageDiscountActionConfigurationType`
|
||||||
|
- `Sylius\Bundle\PromotionBundle\Form\Type\CatalogPromotionActionType`
|
||||||
|
|
||||||
1. The following form extensions have been deprecated and will be removed in Sylius 2.0:
|
1. The following form extensions have been deprecated and will be removed in Sylius 2.0:
|
||||||
- `Sylius\Bundle\AdminBundle\Form\Extension\CatalogPromotionScopeTypeExtension`
|
- `Sylius\Bundle\AdminBundle\Form\Extension\CatalogPromotionScopeTypeExtension`
|
||||||
- `Sylius\Bundle\AdminBundle\Form\Extension\CatalogPromotionActionTypeExtension`
|
- `Sylius\Bundle\AdminBundle\Form\Extension\CatalogPromotionActionTypeExtension`
|
||||||
|
|
|
||||||
|
|
@ -165,6 +165,8 @@
|
||||||
<tag name="form.type" />
|
<tag name="form.type" />
|
||||||
</service>
|
</service>
|
||||||
|
|
||||||
|
<service id="sylius.form.type.catalog_promotion_action.percentage_discount_action_configuration" alias="Sylius\Bundle\PromotionBundle\Form\Type\CatalogPromotionAction\PercentageDiscountActionConfigurationType" />
|
||||||
|
|
||||||
<service id="Sylius\Bundle\CoreBundle\Form\Type\CatalogPromotionAction\ChannelBasedFixedDiscountActionConfigurationType">
|
<service id="Sylius\Bundle\CoreBundle\Form\Type\CatalogPromotionAction\ChannelBasedFixedDiscountActionConfigurationType">
|
||||||
<tag name="sylius.catalog_promotion.action_configuration_type" key="%sylius.catalog_promotion.action.fixed_discount%" />
|
<tag name="sylius.catalog_promotion.action_configuration_type" key="%sylius.catalog_promotion.action.fixed_discount%" />
|
||||||
<tag name="form.type" />
|
<tag name="form.type" />
|
||||||
|
|
@ -298,6 +300,8 @@
|
||||||
<tag name="form.type" />
|
<tag name="form.type" />
|
||||||
</service>
|
</service>
|
||||||
|
|
||||||
|
<service id="sylius.form.type.catalog_promotion_action" alias="Sylius\Bundle\PromotionBundle\Form\Type\CatalogPromotionActionType" />
|
||||||
|
|
||||||
<service id="Sylius\Bundle\PromotionBundle\Form\Type\CatalogPromotionScopeType">
|
<service id="Sylius\Bundle\PromotionBundle\Form\Type\CatalogPromotionScopeType">
|
||||||
<argument>%sylius.model.catalog_promotion_scope.class%</argument>
|
<argument>%sylius.model.catalog_promotion_scope.class%</argument>
|
||||||
<argument>%sylius.form.type.catalog_promotion.validation_groups%</argument>
|
<argument>%sylius.form.type.catalog_promotion.validation_groups%</argument>
|
||||||
|
|
|
||||||
|
|
@ -66,7 +66,6 @@
|
||||||
<tag name="sylius.catalog_promotion.action_configuration_type" key="%sylius.catalog_promotion.action.percentage_discount%" />
|
<tag name="sylius.catalog_promotion.action_configuration_type" key="%sylius.catalog_promotion.action.percentage_discount%" />
|
||||||
<tag name="form.type" />
|
<tag name="form.type" />
|
||||||
</service>
|
</service>
|
||||||
<service id="sylius.form.type.catalog_promotion_action.percentage_discount_action_configuration" alias="Sylius\Bundle\PromotionBundle\Form\Type\CatalogPromotionAction\PercentageDiscountActionConfigurationType" />
|
|
||||||
|
|
||||||
<service id="Sylius\Bundle\PromotionBundle\Form\Type\CatalogPromotionActionType">
|
<service id="Sylius\Bundle\PromotionBundle\Form\Type\CatalogPromotionActionType">
|
||||||
<argument>%sylius.model.catalog_promotion_action.class%</argument>
|
<argument>%sylius.model.catalog_promotion_action.class%</argument>
|
||||||
|
|
@ -74,7 +73,6 @@
|
||||||
<argument type="tagged_iterator" tag="sylius.catalog_promotion.action_configuration_type" index-by="key" />
|
<argument type="tagged_iterator" tag="sylius.catalog_promotion.action_configuration_type" index-by="key" />
|
||||||
<tag name="form.type" />
|
<tag name="form.type" />
|
||||||
</service>
|
</service>
|
||||||
<service id="sylius.form.type.catalog_promotion_action" alias="Sylius\Bundle\PromotionBundle\Form\Type\CatalogPromotionActionType" />
|
|
||||||
|
|
||||||
<service id="Sylius\Bundle\PromotionBundle\Form\Type\CatalogPromotionTranslationType">
|
<service id="Sylius\Bundle\PromotionBundle\Form\Type\CatalogPromotionTranslationType">
|
||||||
<argument>%sylius.model.catalog_promotion_translation.class%</argument>
|
<argument>%sylius.model.catalog_promotion_translation.class%</argument>
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue