function simplenews_user_categories in Simplenews 7
Same name and namespace in other branches
- 7.2 simplenews.module \simplenews_user_categories()
Implements hook_user_categories().
File
- ./
simplenews.module, line 991 - 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;
}