function content_profile_theme_variables::_get_node_preprocessors in Content Profile 6
1 call to content_profile_theme_variables::_get_node_preprocessors()
- content_profile_theme_variables::get_variables in ./
content_profile.theme_vars.inc - Gets all template variables for the content profile of this type.
File
- ./
content_profile.theme_vars.inc, line 111 - Provides a helper class for lazy loading of variables for themes.
Class
- content_profile_theme_variables
- A helper class, which offers lazy loading of variables for themes.
Code
function _get_node_preprocessors() {
$hooks = theme_get_registry();
$functions = $hooks['node']['preprocess functions'];
// We don't need 'template_preprocess'
unset($functions[0]);
return $functions;
}