Mercurial > hg > isophonics-drupal-site
view core/modules/locale/src/Locale.php @ 11:bfffd8d7479a
Move drupal/core from "replace" to "require" section, to ensure Composer updates it
author | Chris Cannam |
---|---|
date | Fri, 23 Feb 2018 15:51:18 +0000 |
parents | 4c8ae668cc8c |
children |
line wrap: on
line source
<?php namespace Drupal\locale; /** * Static service container wrapper for locale. */ class Locale { /** * Returns the locale configuration manager service. * * Use the locale config manager service for creating locale-wrapped typed * configuration objects. * * @see \Drupal\Core\TypedData\TypedDataManager::create() * * @return \Drupal\locale\LocaleConfigManager */ public static function config() { return \Drupal::service('locale.config_manager'); } }