Issue #2410579: Allows setting the current language programmatically.
3 unresolved threads
Closes #2410579
Merge request reports
Activity
added 1 commit
- 051bcac9 - getCurrentLanguage() with the requested $type, not just LanguageInterface::TYPE_INTERFACE
108 108 return $this->getDefaultLanguage(); 109 109 } 110 110 111 /** 112 * {@inheritdoc} 113 */ 114 public function setCurrentLanguage(LanguageInterface $language, $type = LanguageInterface::TYPE_INTERFACE) { changed this line in version 3 of the diff
52 52 53 /** 54 * Sets the current language for the given type. 55 * 56 * @param \Drupal\Core\Language\LanguageInterface $language 57 * The language to set as current language. 58 * @param string $type 59 * (optional) The language type; e.g., the interface or the content 60 * language. Defaults to 61 * \Drupal\Core\Language\LanguageInterface::TYPE_INTERFACE. 62 * 63 * @return \Drupal\Core\Language\LanguageInterface 64 * The current language object for the given type of language, before 65 * setting the new current language. 66 */ 67 public function setCurrentLanguage(LanguageInterface $language, $type = LanguageInterface::TYPE_INTERFACE); changed this line in version 3 of the diff
235 235 return $this->negotiatedLanguages[$type]; 236 236 } 237 237 238 /** 239 * {@inheritdoc} 240 */ 241 public function setCurrentLanguage(LanguageInterface $language, $type = LanguageInterface::TYPE_INTERFACE) { changed this line in version 3 of the diff
added 1 commit
added 172 commits
-
b1f7f817...22a39eb4 - 169 commits from branch
project:10.1.x
- 237700a3 - Issue #2410579: Allows setting the current language programmatically.
- c6d90894 - getCurrentLanguage() with the requested $type, not just LanguageInterface::TYPE_INTERFACE
- c422a489 - Issue #2410579 by Kobe Wright, sleitner: Allow to change the current language
Toggle commit list-
b1f7f817...22a39eb4 - 169 commits from branch
added 16 commits
-
c422a489...7a61f4e9 - 13 commits from branch
project:10.1.x
- 1d95eee4 - Issue #2410579: Allows setting the current language programmatically.
- 35c0966a - getCurrentLanguage() with the requested $type, not just LanguageInterface::TYPE_INTERFACE
- f6a1bf4a - Issue #2410579 by Kobe Wright, sleitner: Allow to change the current language
Toggle commit list-
c422a489...7a61f4e9 - 13 commits from branch
added 30 commits
-
f6a1bf4a...90596616 - 27 commits from branch
project:10.1.x
- 6e19bfb4 - Issue #2410579: Allows setting the current language programmatically.
- 99907808 - getCurrentLanguage() with the requested $type, not just LanguageInterface::TYPE_INTERFACE
- ee0c3df5 - Issue #2410579 by Kobe Wright, sleitner: Allow to change the current language
Toggle commit list-
f6a1bf4a...90596616 - 27 commits from branch
added 1 commit
- e3e67340 - As there is only one language in LanguageManager, it cannot be changed. This...
added 10 commits
-
e3e67340...60c2916b - 6 commits from branch
project:10.1.x
- bb37cfcb - Issue #2410579: Allows setting the current language programmatically.
- a80d701c - getCurrentLanguage() with the requested $type, not just LanguageInterface::TYPE_INTERFACE
- e170721f - Issue #2410579 by Kobe Wright, sleitner: Allow to change the current language
- 10ff93d0 - As there is only one language in LanguageManager, it cannot be changed. This...
Toggle commit list-
e3e67340...60c2916b - 6 commits from branch
added 1080 commits
-
f593e0f7...b6aef35b - 332 commits from branch
project:10.1.x
- b6aef35b...84702133 - 738 earlier commits
- 7cab8103 - Issue #3397110: Increase RECOMMENDED_PHP to 8.2 for Drupal 10.2
- e1c95b2f - Issue #3382510 by phenaproxima, Wim Leers, alexpott, longwave,...
- e6d787eb - Issue #3398321 by bbrala, catch: Optimize GitLab resource requests phase 1
- 3e9e43f0 - Issue #3358319 by Spokje, mondrake, longwave: Update to PHPUnit 9.6.13 and...
- 928eba01 - Issue #3397115 by longwave, quietone: Upgrade eslint and prettier
- 8c351e02 - Issue #3393557 by Wim Leers, Spokje, catch, smustgrave, niegowski, witeksocha:...
- e242a5aa - Issue #3391689 by catch, alexpott, smustgrave: Add a performance tests job to...
- e24ba3f4 - Issue #3393151 by Spokje, quietone: Update composer dependencies for Drupal 10.2
- 13883cc3 - Issue #2441373 by twistor, vsujeetkumar, marvil07, eporama, daffie,...
- d8629694 - Merge branch drupal:11.x into 2410579-allow-to-change-10.1.x
Toggle commit list-
f593e0f7...b6aef35b - 332 commits from branch
Please register or sign in to reply