function lingotek_setup_node_translation_settings_form in Lingotek Translation 7.3
Same name and namespace in other branches
- 7.7 lingotek.setup.inc \lingotek_setup_node_translation_settings_form()
- 7.2 lingotek.setup.inc \lingotek_setup_node_translation_settings_form()
- 7.4 lingotek.setup.inc \lingotek_setup_node_translation_settings_form()
- 7.5 lingotek.setup.inc \lingotek_setup_node_translation_settings_form()
- 7.6 lingotek.setup.inc \lingotek_setup_node_translation_settings_form()
Entity Translation Settings - Form Layout Select the Content Types and Fields to be Translated.
1 string reference to 'lingotek_setup_node_translation_settings_form'
- lingotek_menu in ./
lingotek.module - Implements hook_menu().
File
- ./
lingotek.setup.inc, line 737
Code
function lingotek_setup_node_translation_settings_form($form, $form_state) {
$form = lingotek_admin_node_translation_settings_form($form, $form_state);
if (is_array($_SESSION['lingotek_setup_path'])) {
if (end($_SESSION['lingotek_setup_path']) == 'admin/config/lingotek/node-translation-settings') {
$null = array_pop($_SESSION['lingotek_setup_path']);
}
// if the user went back, remove the last element, which is this page.
$form['lingotek_back_button'] = lingotek_setup_link(end($_SESSION['lingotek_setup_path']), t('Previous Step'));
}
$form['lingotek_support_footer'] = lingotek_support_footer();
return $form;
}