You are here

function npop_entity_info_alter in Node pop-up 7

Implements hook_entity_info_alter().

File

./npop.module, line 236
Create popup nodes with ajax and Drupal core functionality.

Code

function npop_entity_info_alter(&$entity_info) {

  // Create view mode for ajax view nodes.
  $entity_info['node']['view modes']['npop_ajax'] = array(
    'label' => t('Ajax view'),
    'custom settings' => TRUE,
  );
}