CountryManagerInterface.php

Same filename in other branches
  1. 9 core/lib/Drupal/Core/Locale/CountryManagerInterface.php
  2. 8.9.x core/lib/Drupal/Core/Locale/CountryManagerInterface.php
  3. 10 core/lib/Drupal/Core/Locale/CountryManagerInterface.php

Namespace

Drupal\Core\Locale

File

core/lib/Drupal/Core/Locale/CountryManagerInterface.php

View source
<?php

namespace Drupal\Core\Locale;


/**
 * Defines a common interface for country managers.
 */
interface CountryManagerInterface {
    
    /**
     * Returns a list of country code => country name pairs.
     *
     * @return array
     *   An array of country code => country name pairs.
     */
    public function getList();

}

Interfaces

Title Deprecated Summary
CountryManagerInterface Defines a common interface for country managers.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.