public function ChainPriceResolverInterface::getResolvers in Commerce Core 8.2
Gets all added resolvers.
Return value
\Drupal\commerce_price\Resolver\PriceResolverInterface[] The resolvers.
1 method overrides ChainPriceResolverInterface::getResolvers()
- ChainPriceResolver::getResolvers in modules/
price/ src/ Resolver/ ChainPriceResolver.php - Gets all added resolvers.
File
- modules/
price/ src/ Resolver/ ChainPriceResolverInterface.php, line 27
Class
- ChainPriceResolverInterface
- Runs the added resolvers one by one until one of them returns the price.
Namespace
Drupal\commerce_price\ResolverCode
public function getResolvers();