| 1 book.module | book_entity_info_alter(&$info) | 
Implements hook_entity_info_alter().
File
- core/modules/ book/ book.module, line 241 
- Allows users to create and organize related content in an outline.
Code
function book_entity_info_alter(&$info) {
  // Add the 'Print' display mode for nodes.
  $info['node']['view modes'] += array(
    'print' => array(
      'label' => t('Print'),
      'custom settings' => FALSE,
    ),
  );
}
