function simplenews_entity_extra_field_info in Simplenews 8
Same name and namespace in other branches
- 8.2 simplenews.module \simplenews_entity_extra_field_info()
- 3.x simplenews.module \simplenews_entity_extra_field_info()
Implements hook_entity_extra_field_info().
File
- ./
simplenews.module, line 1055 - Simplenews node handling, sent email, newsletter block and general hooks
Code
function simplenews_entity_extra_field_info() {
$return['user']['user'] = array(
'display' => array(
'simplenews' => array(
'label' => 'Newsletters',
'description' => t('Newsletter subscriptions of the user'),
'weight' => 30,
'visible' => FALSE,
),
),
'form' => array(
'simplenews' => array(
'label' => 'Newsletters',
'description' => t('Newsletter subscriptions of the user'),
'weight' => 5,
),
),
);
return $return;
}