You are here

function commons_follow_views_plugins in Drupal Commons 7.3

Implements hook_views_plugins().

File

modules/commons/commons_follow/includes/views/commons_follow.views.inc, line 7

Code

function commons_follow_views_plugins() {

  // This handler requires message_subscribe module.
  return array(
    'argument default' => array(
      'commons_follow_node' => array(
        'title' => t('The node IDs the user is subscribed to'),
        'handler' => 'commons_follow_plugin_argument_default_node',
      ),
      'commons_follow_message' => array(
        'title' => t('The message IDs the user is subscribed to'),
        'handler' => 'commons_follow_plugin_argument_default_message',
      ),
    ),
  );
}