comparison core/lib/Drupal/Core/Language/LanguageManager.php @ 14:1fec387a4317

Update Drupal core to 8.5.2 via Composer
author Chris Cannam
date Mon, 23 Apr 2018 09:46:53 +0100
parents 4c8ae668cc8c
children
comparison
equal deleted inserted replaced
13:5fb285c0d0e3 14:1fec387a4317
349 'es' => ['Spanish', 'Español'], 349 'es' => ['Spanish', 'Español'],
350 ]; 350 ];
351 } 351 }
352 352
353 /** 353 /**
354 * {@inheritdoc} 354 * Sets the configuration override language.
355 * 355 *
356 * This function is a noop since the configuration cannot be overridden by 356 * This function is a noop since the configuration cannot be overridden by
357 * language unless the Language module is enabled. That replaces the default 357 * language unless the Language module is enabled. That replaces the default
358 * language manager with a configurable language manager. 358 * language manager with a configurable language manager.
359 *
360 * @param \Drupal\Core\Language\LanguageInterface $language
361 * The language to override configuration with.
362 *
363 * @return $this
359 * 364 *
360 * @see \Drupal\language\ConfigurableLanguageManager::setConfigOverrideLanguage() 365 * @see \Drupal\language\ConfigurableLanguageManager::setConfigOverrideLanguage()
361 */ 366 */
362 public function setConfigOverrideLanguage(LanguageInterface $language = NULL) { 367 public function setConfigOverrideLanguage(LanguageInterface $language = NULL) {
363 return $this; 368 return $this;