You are here

public function DefaultCountryResolver::__construct in Commerce Core 8.2

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\commerce\Resolver

Code

public function __construct(ConfigFactoryInterface $config_factory) {
  $this->configFactory = $config_factory;
}