You are here

public function PriceList::getStores in Commerce Pricelist 8.2

Gets the stores.

Return value

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

Overrides EntityStoresInterface::getStores

File

src/Entity/PriceList.php, line 95

Class

PriceList
Defines the Price list entity.

Namespace

Drupal\commerce_pricelist\Entity

Code

public function getStores() {
  return $this
    ->getTranslatedReferencedEntities('stores');
}