You are here

public function CurrentCountryInterface::getCountry in Price 8

Same name and namespace in other branches
  1. 3.x src/CurrentCountryInterface.php \Drupal\price\CurrentCountryInterface::getCountry()
  2. 2.0.x src/CurrentCountryInterface.php \Drupal\price\CurrentCountryInterface::getCountry()
  3. 2.x src/CurrentCountryInterface.php \Drupal\price\CurrentCountryInterface::getCountry()
  4. 3.0.x src/CurrentCountryInterface.php \Drupal\price\CurrentCountryInterface::getCountry()

Gets the country for the current request.

Return value

\Drupal\price\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\price

Code

public function getCountry();