You are here

function _potx_schema_store in Translation template extractor 7.3

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

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

The processed schema is found in the "$_potx_module_schema" global.

Parameters

string $module_name: The module name.

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

File

./potx.local.inc, line 284

Code

function _potx_schema_store($module_name) {
  global $_potx_module_schema;
  global $_potx_schema_cache;
  $_potx_schema_cache[$module_name] = $_potx_module_schema;
}