You are here

function subscriptions_ui_subscriptions_ui in Subscriptions 2.0.x

Same name and namespace in other branches
  1. 5.2 subscriptions_ui.module \subscriptions_ui_subscriptions_ui()
  2. 6 subscriptions_ui.module \subscriptions_ui_subscriptions_ui()
  3. 7 subscriptions_ui.module \subscriptions_ui_subscriptions_ui()

Implements hook_subscriptions_ui().

subscriptions_ui is willing to handle all $nids. Other modules can return a higher priority with their name (or a different name!) depending on the $nid, $user, etc.

Parameters

int $nid:

Return value

array

File

subscriptions_ui/subscriptions_ui.module, line 532
Provides a user interface for Subscriptions.

Code

function subscriptions_ui_subscriptions_ui($nid) {
  return [
    'priority' => 0,
    'module' => 'subscriptions_ui',
  ];
}