You are here

function domain_views_views_handlers in Domain Access 6.2

Implement hook_views_handlers() to register all of the basic handlers views uses.

File

domain_views/domain_views.views.inc, line 285
Provides the views data and handlers for domain.module.

Code

function domain_views_views_handlers() {
  $handlers = array(
    'info' => array(
      'path' => drupal_get_path('module', 'domain_views') . '/includes',
    ),
    'handlers' => array(
      // filter handlers
      'domain_views_handler_filter_domain_access_current_all' => array(
        'parent' => 'views_handler_filter_boolean_operator',
      ),
      'domain_views_handler_filter_domain_access_gid' => array(
        'parent' => 'views_handler_filter_in_operator',
      ),
      'domain_views_handler_filter_domain_domain_id' => array(
        'parent' => 'views_handler_filter_in_operator',
      ),
      // argument handlers
      'domain_views_handler_argument_domain_access_gid' => array(
        'parent' => 'views_handler_argument',
      ),
      // field handlers
      'domain_views_handler_field_domain_id' => array(
        'parent' => 'views_handler_field',
      ),
      'domain_views_handler_field_domain_sitename' => array(
        'parent' => 'views_handler_field',
      ),
    ),
  );
  return $handlers;
}