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
drupal_set_message(t('A translation of %title in %language already exists, a new %type will be created instead of a translation.',array('%title'=>$source_node->title[LANGUAGE_NONE][0]['value'],'%language'=>$language_list[$_GET['language']]->name,'%type'=>$node->type)),'error');
drupal_set_message(t('A translation of %title in %language already exists, a new %type will be created instead of a translation.',array('%title'=>$source_node->title[LANGUAGE_NONE][0]['value'],'%language'=>$languages[$language]->name,'%type'=>$node->type)),'error');
return;
return;
}
}
}
}
$node->language=$language;
// Populate fields based on source node.
$node->language=$_GET['language'];
$node->translation_source=$source_node;
$node->translation_source=$source_node;
$node->title=$node->translation_source->title;
$node->title=$source_node->title;
// If user has no access to the filter used for the body, Drupal core
// does not let the edit form to appear, so we should avoid exposing