Skip to content
Snippets Groups Projects
Commit fef7427c authored by catch's avatar catch
Browse files

Issue #2102445 by disasm: Remove drupal_set_title in content_translation module controllers.

parent 25722a62
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
......@@ -104,7 +104,7 @@ public function entityFormAlter(array &$form, array &$form_state, EntityInterfac
$t_args = array('%language' => $languages[$form_langcode]->name, '%title' => $entity->label());
$title = empty($source_langcode) ? $title . ' [' . t('%language translation', $t_args) . ']' : t('Create %language translation of %title', $t_args);
}
drupal_set_title($title, PASS_THROUGH);
$form['#title'] = $title;
}
// Display source language selector only if we are creating a new
......
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