You are here

function _potx_schema_load in Translation template extractor 8

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

Load a module's processed schema.

The processed metadata could be loaded from cache (for local potx), or database (for l10n_server).

Parameters

string $module_name: The module's name.

Return value

array|null The module's processed schema or NULL.

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 314
Hook implementations for this module.

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;
}