public function EntityStoresInterface::getStores in Commerce Core 8.2
Gets the stores.
Return value
\Drupal\commerce_store\Entity\StoreInterface[] The stores.
2 methods override EntityStoresInterface::getStores()
- Product::getStores in modules/
product/ src/ Entity/ Product.php - Gets the stores.
- Promotion::getStores in modules/
promotion/ src/ Entity/ Promotion.php - Gets the stores.
File
- modules/
store/ src/ Entity/ EntityStoresInterface.php, line 16
Class
- EntityStoresInterface
- Defines a common interface for entities that belong to one or more stores.
Namespace
Drupal\commerce_store\EntityCode
public function getStores();