By jsacksick on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
3.0.x
Introduced in version:
3.0.0
Issue links:
Description:
The following plugins now use Attributes.
While annotations are still supported, defining plugins via attributes is strongly recommended since the annotation support will likely be removed when D12 is released.
| Annotation class | Attribute class |
\Drupal\commerce\Annotation\CommerceCondition |
\Drupal\commerce\Attribute\CommerceCondition |
\Drupal\commerce\Annotation\CommerceEntityTrait |
\Drupal\commerce\Attribute\CommerceEntityTrait |
\Drupal\commerce\Annotation\CommerceInlineForm |
\Drupal\commerce\Attribute\CommerceInlineForm |
\Drupal\commerce_checkout\Annotation\CommerceCheckoutFlow |
\Drupal\commerce_checkout\Attribute\CommerceCheckoutFlow |
\Drupal\commerce_checkout\Annotation\CommerceCheckoutPane |
\Drupal\commerce_checkout\Attribute\CommerceCheckoutPane |
\Drupal\commerce_number_pattern\Annotation\CommerceNumberPattern |
\Drupal\commerce_number_pattern\Attribute\CommerceNumberPattern |
\Drupal\commerce_payment\Annotation\CommercePaymentGateway |
Drupal\commerce_payment\Attribute\CommercePaymentGateway |
\Drupal\commerce_payment\Annotation\CommercePaymentMethodType |
Drupal\commerce_payment\Attribute\CommercePaymentMethodType |
\Drupal\commerce_payment\Annotation\CommercePaymentType |
Drupal\commerce_payment\Attribute\CommercePaymentType |
\Drupal\commerce_promotion\Annotation\CommercePromotionOffer |
Drupal\commerce_promotion\Attribute\CommercePromotionOffer |
\Drupal\commerce_tax\Annotation\CommerceTaxNumberType |
Drupal\commerce_tax\Attribute\CommerceTaxNumberType |
\Drupal\commerce_tax\Annotation\CommerceTaxType |
Drupal\commerce_tax\Attribute\CommerceTaxType |
Impacts:
Module developers