You are here

function metatag_get_preprocess_variables in Metatag 7

Return an array of variables to be altered in preprocess functions.

See also

metatag_set_preprocess_variable()

metatag_preprocess_html()

metatag_preprocess_maintenance_page()

2 calls to metatag_get_preprocess_variables()
metatag_preprocess_html in ./metatag.module
Implements hook_preprocess_html().
metatag_preprocess_maintenance_page in ./metatag.module
Implements hook_preprocess_maintenance_page().

File

./metatag.module, line 2293
Primary hook implementations for Metatag.

Code

function metatag_get_preprocess_variables($hook) {
  $variables = drupal_static('metatag_set_preprocess_variable', array());
  return isset($variables[$hook]) ? $variables[$hook] : array();
}