You are here

function subscriptions_blog_ui_subscriptions in Subscriptions 6

Same name and namespace in other branches
  1. 5.2 subscriptions_blog_ui.module \subscriptions_blog_ui_subscriptions()
  2. 7 subscriptions_blog_ui.module \subscriptions_blog_ui_subscriptions()
  3. 2.0.x subscriptions_blog_ui/subscriptions_blog_ui.module \subscriptions_blog_ui_subscriptions()

Implementation of hook_subscriptions().

File

./subscriptions_blog_ui.module, line 13
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,
    );
  }
}