function forward_entity_info_alter in Forward 7.2
Same name and namespace in other branches
- 7.3 forward.module \forward_entity_info_alter()
- 7 forward.module \forward_entity_info_alter()
Implements hook_entity_info_alter().
File
- ./
forward.module, line 942
Code
function forward_entity_info_alter(&$entity_info) {
if (variable_get('forward_custom_viewmode', FALSE)) {
$entity_info['node']['view modes']['forward'] = array(
'label' => t('Forward'),
'custom settings' => TRUE,
);
}
}