You are here

function user_rev_diff_entity_info_alter in User Revision 7.2

Implements hook_entity_info_alter().

File

diff/user_rev_diff.module, line 65
Provides functionality to show a diff between two user revisions.

Code

function user_rev_diff_entity_info_alter(&$entity_info) {
  $entity_info['user']['view modes'] += array(
    'diff_standard' => array(
      'label' => t('Revision comparison'),
      'custom settings' => FALSE,
    ),
  );
}