function entity_print_entity_info_alter in Entity Print 7
Implements hook_entity_info_alter().
File
- ./
entity_print.module, line 317 - Print any entity.
Code
function entity_print_entity_info_alter(&$entity_info) {
foreach ($entity_info as $type => $info) {
$entity_info[$type]['view modes']['pdf'] = array(
'label' => 'PDF',
'custom settings' => FALSE,
);
}
}