function advanced_forum_preprocess_node in Advanced Forum 7.2
Same name and namespace in other branches
- 5 advanced_forum.module \advanced_forum_preprocess_node()
- 6.2 includes/theme.inc \advanced_forum_preprocess_node()
- 6 advanced_forum.module \advanced_forum_preprocess_node()
Preprocesses template variables for the node template.
File
- includes/
theme.inc, line 507 - Holds theme functions and template preprocesses. Other style related functions are in style.inc
Code
function advanced_forum_preprocess_node(&$variables) {
if (advanced_forum_is_styled($variables['node'], $variables['teaser'], 'node')) {
include_once drupal_get_path('module', 'advanced_forum') . '/includes/advanced_forum_preprocess_node.inc';
_advanced_forum_preprocess_node($variables);
}
}