You are here

function user_entity_diff_options in Diff 7.3

Implements hook_entity_diff_options() on behalf of the User module.

1 call to user_entity_diff_options()
user_entity_diff in ./diff.module
Implements hook_entity_diff() on behalf of the User module.

File

./diff.module, line 763
Provides functionality to show a diff between two node revisions.

Code

function user_entity_diff_options($entity_type) {
  if ($entity_type == 'user') {
    $options = array(
      'name' => t('Username'),
      'mail' => t('E-mail address'),
      'roles' => t('Roles'),
      'status' => t('Status'),
      'timezone' => t('Time zone'),
      'password' => t('Password Hash'),
    );
    return $options;
  }
}