You are here

function print_content_build_modes in Printer, email and PDF versions 5.x

Same name and namespace in other branches
  1. 6 print.module \print_content_build_modes()

Implementation of hook_content_build_modes().

File

./print.module, line 483
Displays Printer-friendly versions of Drupal pages.

Code

function print_content_build_modes() {
  return array(
    'print' => array(
      'title' => t('Print'),
      'build modes' => array(
        NODE_BUILD_PRINT => array(
          'title' => t('Print'),
          'views style' => TRUE,
        ),
      ),
    ),
  );
}