function nd_preprocess_page in Node displays 6.2
Implements hook_preprocess_page()
File
- ./
nd.module, line 215 - Node displays.
Code
function nd_preprocess_page(&$vars) {
/**
* Unset the node title
*
* Display Suite can display the node title where required. The default is to
* use Drupal's default behaviour, however you may wish to hide the title and
* let Display Suite take over.
*/
if (isset($vars['node']) && variable_get('nd_ignore_title_' . $vars['node']->type, FALSE) == TRUE) {
$vars['title'] = '';
}
}