You are here

CountryManagerInterface.php in Drupal 8

Same filename and directory in other branches
  1. 9 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

Namesort descending Description
CountryManagerInterface Defines a common interface for country managers.