You are here

CountryManagerInterface.php in Drupal 10

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.