public function EntityStoresInterface::setStoreIds in Commerce Core 8.2
Sets the store IDs.
Parameters
int[] $store_ids: The store IDs.
Return value
$this
2 methods override EntityStoresInterface::setStoreIds()
- Product::setStoreIds in modules/
product/ src/ Entity/ Product.php - Sets the store IDs.
- Promotion::setStoreIds in modules/
promotion/ src/ Entity/ Promotion.php - Sets the store IDs.
File
- modules/
store/ src/ Entity/ EntityStoresInterface.php, line 44
Class
- EntityStoresInterface
- Defines a common interface for entities that belong to one or more stores.
Namespace
Drupal\commerce_store\EntityCode
public function setStoreIds(array $store_ids);