function metatag_set_preprocess_variable in Metatag 7
Set a variable to be altered in metatag_preprocess_html().
See also
metatag_get_preprocess_variables()
metatag_preprocess_maintenance_page()
1 string reference to 'metatag_set_preprocess_variable'
- metatag_get_preprocess_variables in ./
metatag.module - Return an array of variables to be altered in preprocess functions.
File
- ./
metatag.module, line 2281 - Primary hook implementations for Metatag.
Code
function metatag_set_preprocess_variable($hook, $variable, $value) {
$variables =& drupal_static(__FUNCTION__, array());
$variables[$hook][$variable] = $value;
}