You are here

function translation_node_remove in Internationalization 5

Same name and namespace in other branches
  1. 5.3 translation/translation.module \translation_node_remove()
  2. 5.2 translation/translation.module \translation_node_remove()

Form to remove node from translation set

1 string reference to 'translation_node_remove'
translation_node_overview in translation/translation.module
Shows overview of current translations plus remove button

File

translation/translation.module, line 730

Code

function translation_node_remove($node) {
  $form['remove'] = array(
    '#type' => 'fieldset',
    '#title' => t('Remove from translation'),
    '#description' => t('This will just unlink the node from this translation set.'),
  );
  $form['remove']['node'] = array(
    '#type' => 'value',
    '#value' => $node,
  );
  $form['remove']['submit'] = array(
    '#type' => 'submit',
    '#value' => t('Remove'),
  );
  return $form;
}