Skip to content
Snippets Groups Projects
Commit 500bdf8d authored by Angie Byron's avatar Angie Byron
Browse files

Issue #2011082 follow-up by swentel, yched: Add back missing language arguments.

parent a1b59e33
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -259,7 +259,7 @@ public function query($use_groupby = FALSE) {
$default_langcode = language_default()->id;
$langcode = str_replace(
array('***CURRENT_LANGUAGE***', '***DEFAULT_LANGUAGE***'),
array($this->languageManager->getLanguage(Language::TYPE_CONTENT)),
array($this->languageManager->getLanguage(Language::TYPE_CONTENT), $default_langcode),
$this->view->display_handler->options['field_langcode']
);
$placeholder = $this->placeholder();
......@@ -859,7 +859,7 @@ function field_langcode(EntityInterface $entity) {
$default_langcode = language_default()->id;
$langcode = str_replace(
array('***CURRENT_LANGUAGE***', '***DEFAULT_LANGUAGE***'),
array($this->languageManager->getLanguage(Language::TYPE_CONTENT)),
array($this->languageManager->getLanguage(Language::TYPE_CONTENT), $default_langcode),
$this->view->display_handler->options['field_language']
);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment