You are here

function forward_entity_info_alter in Forward 7

Same name and namespace in other branches
  1. 7.3 forward.module \forward_entity_info_alter()
  2. 7.2 forward.module \forward_entity_info_alter()

Implements hook_entity_info_alter().

File

./forward.module, line 1124

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,
    );
  }
}