You are here

function masquerade_entity_extra_field_info in Masquerade 8.2

Implements hook_entity_extra_field_info().

File

./masquerade.module, line 157
Allows privileged users to masquerade as another user.

Code

function masquerade_entity_extra_field_info() {
  $fields['user']['user']['display']['masquerade'] = [
    'label' => t('Masquerade'),
    'description' => t('Masquerade as user link.'),
    'weight' => 50,
  ];
  return $fields;
}