You are here

function pet_views_handlers in Previewable email templates 6

hook_views_handlers()

File

includes/views/pet.views.inc, line 12
This file provides metadata to the Views 2 API for views integration.

Code

function pet_views_handlers() {
  return array(
    'info' => array(
      'path' => PET_VIEWS_DIR . '/handlers',
    ),
    'handlers' => array(
      // Fields
      'pet_views_handler_field_pid' => array(
        'parent' => 'views_handler_field',
      ),
      'pet_views_handler_field_title' => array(
        'parent' => 'views_handler_field',
      ),
      'pet_views_handler_field_name' => array(
        'parent' => 'views_handler_field',
      ),
      // Filters
      'pet_views_handler_filter_name' => array(
        'parent' => 'views_handler_filter',
      ),
      // Arguments
      'pet_views_handler_argument_pet_nid' => array(
        'parent' => 'views_handler_argument_numeric',
      ),
      'pet_views_handler_argument_pet_name' => array(
        'parent' => 'views_handler_argument',
      ),
    ),
  );
}