t('Date'), 'title' => t('Date range'), 'help' => t('Filter any Views date field by an arbitrarily defined range class.'), 'argument' => array( 'handler' => 'daterange_argument_handler', 'empty name field' => t('Undated'), ), ); return $data; } /** * Implementation of hook_views_handlers(). */ function views_daterange_views_handlers() { return array( 'info' => array( 'path' => drupal_get_path('module', 'views_daterange'), ), 'handlers' => array( 'daterange_argument_handler' => array( 'parent' => 'date_api_argument_handler', ), ), ); }