function i18n_menu_node_translation_enabled in Menu translation - Node 7
Return TRUE if node item translation is enabled for the given menu.
3 calls to i18n_menu_node_translation_enabled()
- i18n_menu_node_form_alter in ./
i18n_menu_node.module - Implementation of hook_form_alter().
- i18n_menu_node_form_menu_edit_item_alter in ./
i18n_menu_node.module - Implementation of hook_form_FORM_ID_alter().
- i18n_menu_node_form_menu_edit_menu_alter in ./
i18n_menu_node.module - Implementation of hook_form_FORM_ID_alter().
File
- ./
i18n_menu_node.module, line 743 - Menu translation (Node).
Code
function i18n_menu_node_translation_enabled($menu_name) {
return variable_get("i18n_menu_node_translation_{$menu_name}", TRUE);
}