interface CheckoutFlowResolverInterface in Commerce Core 8.2
Defines the interface for checkout flow resolvers.
Hierarchy
- interface \Drupal\commerce_checkout\Resolver\CheckoutFlowResolverInterface
Expanded class hierarchy of CheckoutFlowResolverInterface
All classes that implement CheckoutFlowResolverInterface
File
- modules/
checkout/ src/ Resolver/ CheckoutFlowResolverInterface.php, line 10
Namespace
Drupal\commerce_checkout\ResolverView source
interface CheckoutFlowResolverInterface {
/**
* Resolves the checkout flow.
*
* @param \Drupal\commerce_order\Entity\OrderInterface $order
* The order that is being checked out.
*
* @return \Drupal\commerce_checkout\Entity\CheckoutFlowInterface
* The checkout flow, if resolved. Otherwise NULL, indicating that
* the next resolver in the chain should be called.
*/
public function resolve(OrderInterface $order);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
CheckoutFlowResolverInterface:: |
public | function | Resolves the checkout flow. | 2 |