You are here

public function EntityStoreInterface::setStore in Commerce Core 8.2

Sets the store.

Parameters

\Drupal\commerce_store\Entity\StoreInterface $store: The store entity.

Return value

$this

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

File

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

Class

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

Namespace

Drupal\commerce_store\Entity

Code

public function setStore(StoreInterface $store);