Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x

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.

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal