function book_entity_info

Implements hook_entity_info().

File

drupal/core/modules/book/book.module, line 251
Allows users to create and organize related content in an outline.

Code

function book_entity_info(&$info) {

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