Currently the ::buildRow method invokes the deprecated ::getLabel method. We can invoke the label method directly from the entity. We can just take care of each instance.
- \Drupal\commerce_order\Entity\LineItemTypeListBuilder
- \Drupal\commerce_order\Entity\OrderTypeListBuilder
- \Drupal\commerce_product\ProductVariationTypeListBuilder
- \Drupal\commerce_product\ProductTypeListBuilder
- \Drupal\commerce_store\StoreTypeListBuilder
- \Drupal\commerce_price\CurrencyListBuilder
Comments
Comment #2
harings_rob commentedComment #3
harings_rob commentedI have changed the calls to ->label() directly on the entity.
PR: https://github.com/drupalcommerce/commerce/pull/324
Comment #5
bojanz commentedCommitted, thanks!