You are here

public static function Locale::config in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/locale/src/Locale.php \Drupal\locale\Locale::config()

Returns the locale configuration manager service.

Use the locale config manager service for creating locale-wrapped typed configuration objects.

Return value

\Drupal\locale\LocaleConfigManager

See also

\Drupal\Core\TypedData\TypedDataManager::create()

File

core/modules/locale/src/Locale.php, line 25
Contains \Drupal\locale\Locale.

Class

Locale
Static service container wrapper for locale.

Namespace

Drupal\locale

Code

public static function config() {
  return \Drupal::service('locale.config_manager');
}