You are here

function _potx_schema_store in Translation template extractor 8

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

Store a module's processed schema.

The processed schema could be stored 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 295
Hook implementations for this module.

Code

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