interface StoreResolverInterface in Commerce Core 8.2
Defines the interface for store resolvers.
Hierarchy
- interface \Drupal\commerce_store\Resolver\StoreResolverInterface
Expanded class hierarchy of StoreResolverInterface
All classes that implement StoreResolverInterface
1 file declares its use of StoreResolverInterface
- OrderStoreResolver.php in modules/
order/ src/ Resolver/ OrderStoreResolver.php
File
- modules/
store/ src/ Resolver/ StoreResolverInterface.php, line 8
Namespace
Drupal\commerce_store\ResolverView source
interface StoreResolverInterface {
/**
* Resolves the store.
*
* @return \Drupal\commerce_store\Entity\StoreInterface|null
* The store, if resolved. Otherwise NULL, indicating that the next
* resolver in the chain should be called.
*/
public function resolve();
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
StoreResolverInterface:: |
public | function | Resolves the store. | 3 |