Implements hook_entity_info().
function book_entity_info(&$info) { // Add the 'Print' view mode for nodes. $info['node']['view_modes']['print'] = array( 'label' => t('Print'), 'custom_settings' => FALSE, ); }