public function CountryManagerInterface::getCountry in Ubercart 8.4
Returns the uc_country config entity with the specified country code.
Parameters
string $alpha_2: The two-character ISO 3166 country code.
Return value
\Drupal\uc_country\Entity\Country The uc_country config entity with the specified country code.
1 method overrides CountryManagerInterface::getCountry()
- CountryManager::getCountry in uc_country/
src/ CountryManager.php - Returns the uc_country config entity with the specified country code.
File
- uc_country/
src/ CountryManagerInterface.php, line 35
Class
- CountryManagerInterface
- Defines a common interface for country managers.
Namespace
Drupal\uc_countryCode
public function getCountry($alpha_2);