public function PriceList::setStoreIds in Commerce Pricelist 8.2
Sets the store IDs.
Parameters
int[] $store_ids: The store IDs.
Return value
$this
Overrides EntityStoresInterface::setStoreIds
File
- src/
Entity/ PriceList.php, line 121
Class
- PriceList
- Defines the Price list entity.
Namespace
Drupal\commerce_pricelist\EntityCode
public function setStoreIds(array $store_ids) {
$this
->set('stores', $store_ids);
return $this;
}