function lingotek_content_push_form in Lingotek Translation 7.3
Same name and namespace in other branches
- 7.2 lingotek.module \lingotek_content_push_form()
- 7.4 lingotek.module \lingotek_content_push_form()
Form constructor for the Lingotek Content push form.
File
- ./
lingotek.module, line 1117
Code
function lingotek_content_push_form($form, $form_state, $node) {
$form = array();
$form['content_push'] = array(
'#type' => 'fieldset',
'#title' => t('Push Node Content to Lingotek'),
'#description' => t("Manually push this node's content to Lingotek"),
'#collapsible' => TRUE,
'#collapsed' => FALSE,
);
$form['content_push']['submit'] = array(
'#type' => 'submit',
'#value' => t('Push Content'),
);
$form['node_id'] = array(
'#type' => 'hidden',
'#value' => $node->nid,
);
return $form;
}