You are here

public function EntityStoreInterface::setStoreId in Commerce Core 8.2

Sets the store ID.

Parameters

int $store_id: The store ID.

Return value

$this

2 methods override EntityStoreInterface::setStoreId()
EntityTestWithStore::setStoreId in modules/number_pattern/tests/modules/commerce_number_pattern_test/src/Entity/EntityTestWithStore.php
Sets the store ID.
Order::setStoreId in modules/order/src/Entity/Order.php
Sets the store ID.

File

modules/store/src/Entity/EntityStoreInterface.php, line 44

Class

EntityStoreInterface
Defines a common interface for entities that belong to a single store.

Namespace

Drupal\commerce_store\Entity

Code

public function setStoreId($store_id);