You are here

function heartbeat_views_handlers in Heartbeat 6.4

Same name and namespace in other branches
  1. 6.3 views/heartbeat_views.views.inc \heartbeat_views_handlers()

Implementation of hook_views_handlers().

Return value

unknown

File

views/heartbeat_views.views.inc, line 272
Views integration for heartbeat.

Code

function heartbeat_views_handlers() {
  return array(
    'info' => array(
      'path' => drupal_get_path('module', 'heartbeat') . '/views/handlers',
    ),
    'handlers' => array(
      // Handler to fetch message for current language
      'views_handler_filter_heartbeat_language' => array(
        'parent' => 'views_handler_filter_boolean_operator',
      ),
      // Handler to fetch message for only this permissions
      'views_handler_filter_heartbeat_perms' => array(
        'parent' => 'views_handler_filter_equality',
      ),
      // Handler to handle the access state of the messages
      'views_handler_filter_heartbeat_access' => array(
        'parent' => 'views_handler_filter_numeric',
      ),
      // TODO what does this have to do really?
      'views_handler_filter_heartbeat_user_requested' => array(
        'parent' => 'views_handler_filter_boolean_operator',
      ),
      // Delete link for heartbeat activity.
      'views_handler_field_heartbeat_activity_link_delete' => array(
        'parent' => 'views_handler_field',
      ),
    ),
  );
}