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
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment