function subscriptions_taxonomy_data in Subscriptions 7
Same name and namespace in other branches
- 2.0.x subscriptions_taxonomy/subscriptions_taxonomy.module \subscriptions_taxonomy_data()
Provides the data for resolving tokens.
Parameters
array $data:
$node:
array $subs:
1 string reference to 'subscriptions_taxonomy_data'
- subscriptions_taxonomy_subscriptions in ./
subscriptions_taxonomy.module - Implements hook_subscriptions().
File
- ./
subscriptions_taxonomy.module, line 230 - Subscriptions to taxonomy terms.
Code
function subscriptions_taxonomy_data(array &$data, $node, array $queue_item) {
$data['subs']['category'] = taxonomy_term_load($queue_item['value']);
subscriptions_content_data($data, $node, $queue_item);
}