CountryManager::getStandardList

public static CountryManager::getStandardList() Get an array of all two-letter country code => country name pairs. Return value array An array of country code => country name pairs. File core/lib/Drupal/Core/Locale/CountryManager.php, line 39 Class CountryManager Provides list of countries. Namespace Drupal\Core\Locale Code public static function getStandardList() { $countries = array( 'AC' => t('Ascension Island'), 'AD' => t('Andorra'), 'AE' => t('United

CountryManager::getList

public CountryManager::getList() Get an array of country code => country name pairs, altered by alter hooks. Return value array An array of country code => country name pairs. Overrides CountryManagerInterface::getList See also \Drupal\Core\Locale\CountryManager::getStandardList() File core/lib/Drupal/Core/Locale/CountryManager.php, line 315 Class CountryManager Provides list of countries. Namespace Drupal\Core\Locale Code public function getList() { // Populate the country l

CountryManager::$moduleHandler

The module handler service. Type: \Drupal\Core\Extension\ModuleHandlerInterface File core/lib/Drupal/Core/Locale/CountryManager.php, line 17 Class CountryManager Provides list of countries. Namespace Drupal\Core\Locale Code protected $moduleHandler;

CountryManager::$countries

An array of country code => country name pairs. File core/lib/Drupal/Core/Locale/CountryManager.php, line 22 Class CountryManager Provides list of countries. Namespace Drupal\Core\Locale Code protected $countries;

CountryManager

Provides list of countries. Hierarchy class \Drupal\Core\Locale\CountryManager implements CountryManagerInterface File core/lib/Drupal/Core/Locale/CountryManager.php, line 10 Namespace Drupal\Core\Locale Members Name Modifiers Type Description CountryManager::$countries protected property An array of country code => country name pairs. CountryManager::$moduleHandler protected property The module handler service. CountryManager::getList public function

CorsCompilerPass::process

public CorsCompilerPass::process(ContainerBuilder $container) You can modify the container here before it is dumped to PHP code. Parameters ContainerBuilder $container: Overrides CompilerPassInterface::process File core/lib/Drupal/Core/DependencyInjection/Compiler/CorsCompilerPass.php, line 18 Class CorsCompilerPass Provides a compiler pass which disables the CORS middleware in case disabled. Namespace Drupal\Core\DependencyInjection\Compiler Code public function process(ContainerBuil

CorsCompilerPass

Provides a compiler pass which disables the CORS middleware in case disabled. Hierarchy class \Drupal\Core\DependencyInjection\Compiler\CorsCompilerPass implements CompilerPassInterface See also core.services.yml File core/lib/Drupal/Core/DependencyInjection/Compiler/CorsCompilerPass.php, line 13 Namespace Drupal\Core\DependencyInjection\Compiler Members Name Modifiers Type Description CorsCompilerPass::process public function You can modify the container here before it

core_field_views_data

core_field_views_data(FieldStorageConfigInterface $field_storage) Implements hook_field_views_data(). The function implements the hook in behalf of 'core' because it adds a relationship and a reverse relationship to entity_reference field type, which is provided by core. File core/modules/views/views.views.inc, line 683 Provide views data that isn't tied to any other module. Code function core_field_views_data(FieldStorageConfigInterface $field_storage) { $data = views_field_default_views_d

CoreServiceProvider::register

public CoreServiceProvider::register(ContainerBuilder $container) Registers services to the container. Parameters ContainerBuilder $container: The ContainerBuilder to register services to. Overrides ServiceProviderInterface::register File core/lib/Drupal/Core/CoreServiceProvider.php, line 50 Class CoreServiceProvider ServiceProvider class for mandatory core services. Namespace Drupal\Core Code public function register(ContainerBuilder $container) { $this->registerTest($container)

CoreServiceProvider::alter

public CoreServiceProvider::alter(ContainerBuilder $container) Alters the UUID service to use the most efficient method available. Parameters \Drupal\Core\DependencyInjection\ContainerBuilder $container: The container builder. Overrides ServiceModifierInterface::alter File core/lib/Drupal/Core/CoreServiceProvider.php, line 111 Class CoreServiceProvider ServiceProvider class for mandatory core services. Namespace Drupal\Core Code public function alter(ContainerBuilder $container) { $