public function DefaultCountryResolver::__construct in Price 2.0.x
Same name and namespace in other branches
- 8 src/Resolver/DefaultCountryResolver.php \Drupal\price\Resolver\DefaultCountryResolver::__construct()
- 3.x src/Resolver/DefaultCountryResolver.php \Drupal\price\Resolver\DefaultCountryResolver::__construct()
- 2.x src/Resolver/DefaultCountryResolver.php \Drupal\price\Resolver\DefaultCountryResolver::__construct()
- 3.0.x src/Resolver/DefaultCountryResolver.php \Drupal\price\Resolver\DefaultCountryResolver::__construct()
Constructs a new DefaultCountryResolver object.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory.
File
- src/
Resolver/ DefaultCountryResolver.php, line 26
Class
- DefaultCountryResolver
- Returns the site's default country.
Namespace
Drupal\price\ResolverCode
public function __construct(ConfigFactoryInterface $config_factory) {
$this->configFactory = $config_factory;
}