function simplenews_user_categories in Simplenews 7.2
Same name and namespace in other branches
- 7 simplenews.module \simplenews_user_categories()
Implements hook_user_categories().
File
- ./
simplenews.module, line 1173 - Simplenews node handling, sent email, newsletter block and general hooks
Code
function simplenews_user_categories() {
$output[] = array(
'name' => 'simplenews',
'title' => t('Newsletters'),
'weight' => 10,
'access callback' => 'simplenews_subscription_edit_access',
);
return $output;
}