Issue #2143023 by FrancescoQ: Move Translation tab on node translation form to right sidebar.
parent
beee5c272a
commit
0d777769ba
|
@ -24,13 +24,14 @@ class NodeTranslationController extends ContentTranslationController {
|
||||||
// Move the translation fieldset to a vertical tab.
|
// Move the translation fieldset to a vertical tab.
|
||||||
if (isset($form['content_translation'])) {
|
if (isset($form['content_translation'])) {
|
||||||
$form['content_translation'] += array(
|
$form['content_translation'] += array(
|
||||||
'#group' => 'additional_settings',
|
'#group' => 'advanced',
|
||||||
'#weight' => 100,
|
|
||||||
'#attributes' => array(
|
'#attributes' => array(
|
||||||
'class' => array('node-translation-options'),
|
'class' => array('node-translation-options'),
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
|
||||||
|
$form['content_translation']['#weight'] = 100;
|
||||||
|
|
||||||
// We do not need to show these values on node forms: they inherit the
|
// We do not need to show these values on node forms: they inherit the
|
||||||
// basic node property values.
|
// basic node property values.
|
||||||
$form['content_translation']['status']['#access'] = FALSE;
|
$form['content_translation']['status']['#access'] = FALSE;
|
||||||
|
|
Loading…
Reference in New Issue