Overrides EntityTranslationController::entityFormAlter().
Overrides EntityTranslationController::entityFormAlter
public function entityFormAlter(array &$form, array &$form_state, EntityInterface $entity) {
parent::entityFormAlter($form, $form_state, $entity);
// Move the translation fieldset to a vertical tab.
if (isset($form['translation_entity'])) {
$form['translation_entity'] += array(
'#group' => 'additional_settings',
'#weight' => 100,
'#attributes' => array(
'class' => array(
'node-translation-options',
),
),
);
// We do not need to show these values on node forms: they inherit the
// basic node property values.
$form['translation_entity']['status']['#access'] = FALSE;
$form['translation_entity']['name']['#access'] = FALSE;
$form['translation_entity']['created']['#access'] = FALSE;
}
}