You are here

function context_metadata_static_store in Context Metadata 6

Static store.

3 calls to context_metadata_static_store()
context_metadata_nodewords_tags_alter in ./context_metadata.module
Implements hook_nodewords_tags_alter().
context_metadata_page_title_alter in ./context_metadata.module
Implements hook_page_title_alter().
context_metadata_reaction::execute in plugins/context_metadata_reaction.inc
Outputs a list of active contexts.

File

./context_metadata.module, line 89
Provides a context reaction

Code

function context_metadata_static_store($static_metadata_array = array()) {
  static $static_array;
  if (!empty($static_metadata_array)) {
    $static_array = $static_metadata_array;
  }
  return $static_array;
}