You are here

function translation_table_module_include in Translation table 7

Same name and namespace in other branches
  1. 6 translation_table.module \translation_table_module_include()

Load translation table files on behalf of modules.

1 call to translation_table_module_include()
translation_table_menu in ./translation_table.module
Implements hook_menu().

File

./translation_table.module, line 93
Translation table module

Code

function translation_table_module_include($file) {
  foreach (translation_table_get_module_apis() as $module => $info) {
    if (file_exists(DRUPAL_ROOT . "/{$info['path']}/{$file}")) {
      require_once DRUPAL_ROOT . "/{$info['path']}/{$file}";
    }
  }
}