You are here

public function EntityStoreInterface::getStore in Commerce Core 8.2

Gets the store.

Return value

\Drupal\commerce_store\Entity\StoreInterface|null The store entity, or null.

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

File

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

Class

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

Namespace

Drupal\commerce_store\Entity

Code

public function getStore();