CurrentStoreInterface.php in Commerce Core 8.2
Namespace
Drupal\commerce_storeFile
modules/store/src/CurrentStoreInterface.phpView source
<?php
namespace Drupal\commerce_store;
/**
* Holds a reference to the active store, resolved on demand.
*/
interface CurrentStoreInterface {
/**
* Gets the active store for the current request.
*
* @return \Drupal\commerce_store\Entity\StoreInterface
* The active store.
*/
public function getStore();
}
Interfaces
Name![]() |
Description |
---|---|
CurrentStoreInterface | Holds a reference to the active store, resolved on demand. |