public function ChainCheckoutFlowResolverInterface::addResolver in Commerce Core 8.2
Adds a resolver.
Parameters
\Drupal\commerce_checkout\Resolver\CheckoutFlowResolverInterface $resolver: The resolver.
1 method overrides ChainCheckoutFlowResolverInterface::addResolver()
- ChainCheckoutFlowResolver::addResolver in modules/
checkout/ src/ Resolver/ ChainCheckoutFlowResolver.php - Adds a resolver.
File
- modules/
checkout/ src/ Resolver/ ChainCheckoutFlowResolverInterface.php, line 19
Class
- ChainCheckoutFlowResolverInterface
- Runs the added resolvers one by one until one of them returns the checkout flow.
Namespace
Drupal\commerce_checkout\ResolverCode
public function addResolver(CheckoutFlowResolverInterface $resolver);