You are here

function masquerade_field_extra_fields in Masquerade 7

Implements hook_field_extra_fields().

File

./masquerade.module, line 383
The masquerade module allows administrators to masquerade as other user.

Code

function masquerade_field_extra_fields() {
  $return['user']['user'] = array(
    'form' => array(
      'masquerade' => array(
        'label' => t('Masquerade'),
        'description' => t('User masquerade settings.'),
        'weight' => 50,
      ),
    ),
    'display' => array(
      'masquerade' => array(
        'label' => t('Masquerade'),
        'description' => t('Masquerade as user link.'),
        'weight' => 50,
      ),
    ),
  );
  return $return;
}