You are here

function lingotek_node_based_trans_ready in Lingotek Translation 7.6

Same name and namespace in other branches
  1. 7.7 lingotek.util.inc \lingotek_node_based_trans_ready()
  2. 7.5 lingotek.util.inc \lingotek_node_based_trans_ready()

Determine whether site has the required dependencies for node-based translation

Return value

boolean

2 calls to lingotek_node_based_trans_ready()
lingotek_admin_profile_form in ./lingotek.admin.inc
Content defaults Form
lingotek_get_node_settings_form in ./lingotek.module
Display the Lingotek node-settings form

File

./lingotek.util.inc, line 1899
Utility functions.

Code

function lingotek_node_based_trans_ready() {
  if (module_exists('translation') && module_exists('i18n_node')) {
    return TRUE;
  }
  return FALSE;
}