You are here

public function CurrentCountryInterface::getCountry in Commerce Core 8.2

Gets the country for the current request.

Return value

\Drupal\commerce\Country The country.

1 method overrides CurrentCountryInterface::getCountry()
CurrentCountry::getCountry in src/CurrentCountry.php
Gets the country for the current request.

File

src/CurrentCountryInterface.php, line 18

Class

CurrentCountryInterface
Holds a reference to the current country, resolved on demand.

Namespace

Drupal\commerce

Code

public function getCountry();