function nd_preprocess_page in Display Suite 6.3
Implements hook_preprocess_page()
File
- modules/
nd/ nd.module, line 199 - 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'] = '';
}
}