You are here

function notifications_content_entity_info_alter in Notifications 7

Implements hook_entity_info_alter().

Add Notifications view mode

File

notifications_content/notifications_content.module, line 181
Subscriptions to content events

Code

function notifications_content_entity_info_alter(&$entity_info) {
  $entity_info['node']['view modes']['notifications'] = array(
    'label' => t('Notifications'),
    'custom settings' => TRUE,
  );
}