public function Widget::getStores in Commerce Pricelist 8.2
Gets the stores through which the purchasable entity is sold.
Return value
\Drupal\commerce_store\Entity\StoreInterface[] The stores.
Overrides PurchasableEntityInterface::getStores
File
- tests/
modules/ commerce_pricelist_test/ src/ Entity/ Widget.php, line 50
Class
- Widget
- Defines the Widget purchasable entity.
Namespace
Drupal\commerce_pricelist_test\EntityCode
public function getStores() {
return [];
}