You are here

function _potx_schema_load in Translation template extractor 7.3

Same name and namespace in other branches
  1. 8 potx.local.inc \_potx_schema_load()

Load a module's processed schema, from cache (for local potx), or database (for l10n_server).

Parameters

string $module_name: The module's name.

1 string reference to '_potx_schema_load'
potx_local_init in ./potx.local.inc
Initialize potx to run locally, e.g. by drush.

File

./potx.local.inc, line 298

Code

function _potx_schema_load($module_name) {
  global $_potx_schema_cache;
  if (isset($_potx_schema_cache[$module_name])) {
    return $_potx_schema_cache[$module_name];
  }
  return NULL;
}