function subscriptions_blog_ui_subscriptions in Subscriptions 7
Same name and namespace in other branches
- 5.2 subscriptions_blog_ui.module \subscriptions_blog_ui_subscriptions()
- 6 subscriptions_blog_ui.module \subscriptions_blog_ui_subscriptions()
- 2.0.x subscriptions_blog_ui/subscriptions_blog_ui.module \subscriptions_blog_ui_subscriptions()
Implements hook_subscriptions().
Parameters
$op:
mixed|null $arg0:
mixed|null $arg1:
mixed|null $arg2:
Return value
mixed
File
- ./
subscriptions_blog_ui.module, line 20 - Provide a Subscriptions UI for the blog content type subscriptions
Code
function subscriptions_blog_ui_subscriptions($op, $arg0 = NULL, $arg1 = NULL, $arg2 = NULL) {
$function = '_subscriptions_blog_ui_' . $op;
if (function_exists($function)) {
return $function($arg0, $arg1, $arg2);
}
if ($op == 'stype' && $arg0 == 'blog') {
return array(
'node',
'type',
'blog',
$arg1,
);
}
return NULL;
}