You are here

public function CurrentStoreInterface::getStore in Commerce Core 8.2

Gets the active store for the current request.

Return value

\Drupal\commerce_store\Entity\StoreInterface The active store.

1 method overrides CurrentStoreInterface::getStore()
CurrentStore::getStore in modules/store/src/CurrentStore.php
Gets the active store for the current request.

File

modules/store/src/CurrentStoreInterface.php, line 16

Class

CurrentStoreInterface
Holds a reference to the active store, resolved on demand.

Namespace

Drupal\commerce_store

Code

public function getStore();