function template_preprocess_node_registration in Node registration 7
Default preprocess for theme node_registration.
File
- ./
node_registration.module, line 1163
Code
function template_preprocess_node_registration(&$variables) {
$registration = $variables['registration'];
$node = $variables['node'];
$variables['classes_array'][] = 'node-registration-' . drupal_html_class($node->type);
if ($registration->cancelled) {
$variables['classes_array'][] = 'cancelled';
}
}