On this page
function bartik_preprocess_node
bartik_preprocess_node(&$variables)
Override or insert variables into the node template.
File
- themes/bartik/template.php, line 111
Code
function bartik_preprocess_node(&$variables) {
if ($variables['view_mode'] == 'full' && node_is_page($variables['node'])) {
$variables['classes_array'][] = 'node-full';
}
}
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/themes!bartik!template.php/function/bartik_preprocess_node/7.x