You are here

function i18n_menu_node_enabled in Menu translation - Node 7

Return TRUE if node item translation is enabled for the given menu item.

5 calls to i18n_menu_node_enabled()
i18n_menu_node_context_condition::execute in plugins/i18n_menu_node_context_condition.inc
Override of execute().
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_menu_link_enabled in ./i18n_menu_node.module
Return TRUE if the given node has a menu link with node translation enabled.
i18n_menu_node_tokens in ./i18n_menu_node.module
Implementation of hook_tokens().

File

./i18n_menu_node.module, line 750
Menu translation (Node).

Code

function i18n_menu_node_enabled($item) {
  return isset($item['options']['translations']);
}