function _notifications_feed_node_options in Notifications 6
Same name and namespace in other branches
- 5 notifications_feed/notifications_feed.module \_notifications_feed_node_options()
1 call to _notifications_feed_node_options()
- notifications_feed_notifications in notifications_feed/
notifications_feed.module - Implementation of hook_notifications().
File
- notifications_feed/
notifications_feed.module, line 111 - Subscriptions to FeedAPI feeds
Code
function _notifications_feed_node_options($account, $node) {
// If node is a feed type
if ($node->feed) {
$options[] = array(
'name' => t('To items in this feed'),
'type' => 'feed',
'fields' => array(
'feed-nid' => $node->nid,
),
);
return $options;
}
}