You are here

function profile2_entity_diff_options in Profile 2 7.2

Implements hook_entity_diff_options() on behalf of the Profile2 module.

1 call to profile2_entity_diff_options()
profile2_entity_diff in contrib/profile2_diff.module
Implements hook_entity_diff() on behalf of the Profile2 module.

File

contrib/profile2_diff.module, line 136
Provides functionality to show a diff between two profile2 revisions.

Code

function profile2_entity_diff_options($entity_type) {
  if ($entity_type == 'profile2') {
    $options = array(
      'label' => t('Profile title'),
    );
    return $options;
  }
}