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