You are here

function simplenews_field_extra_fields in Simplenews 7.2

Same name and namespace in other branches
  1. 7 simplenews.module \simplenews_field_extra_fields()

Implements hook_field_extra_fields().

File

./simplenews.module, line 2807
Simplenews node handling, sent email, newsletter block and general hooks

Code

function simplenews_field_extra_fields() {
  $return['user']['user'] = array(
    'display' => array(
      'simplenews' => array(
        'label' => 'Newsletters',
        'description' => t('Newsletter subscriptions of the user'),
        'weight' => 5,
      ),
    ),
  );
  return $return;
}