You are here

public function MobileNumberUtilInterface::getCountryName in Mobile Number 2.0.x

Same name and namespace in other branches
  1. 8 src/MobileNumberUtilInterface.php \Drupal\mobile_number\MobileNumberUtilInterface::getCountryName()

Get country display name given country code.

Parameters

string $country: Country code.

Return value

string Country name.

1 method overrides MobileNumberUtilInterface::getCountryName()
MobileNumberUtil::getCountryName in src/MobileNumberUtil.php
Get country display name given country code.

File

src/MobileNumberUtilInterface.php, line 128

Class

MobileNumberUtilInterface
Provides an interface for mobile number utility.

Namespace

Drupal\mobile_number

Code

public function getCountryName($country);