You are here

public function PurchasableEntityInterface::getStores in Commerce Core 8.2

Gets the stores through which the purchasable entity is sold.

Return value

\Drupal\commerce_store\Entity\StoreInterface[] The stores.

1 method overrides PurchasableEntityInterface::getStores()
ProductVariation::getStores in modules/product/src/Entity/ProductVariation.php
Gets the stores through which the purchasable entity is sold.

File

src/PurchasableEntityInterface.php, line 22

Class

PurchasableEntityInterface
Defines the interface for purchasable entities.

Namespace

Drupal\commerce

Code

public function getStores();