t('Node'), 'title' => t('Content Profile'), 'help' => t('Create a relationship to a content profile of the user.'), 'relationship' => array( 'handler' => 'content_profile_views_handler_relationship', 'base' => 'node', 'base field' => 'uid', 'label' => t('Content Profile'), ), ); } /** * Implementation of hook_views_handlers(). */ function content_profile_views_handlers() { return array( 'info' => array( 'path' => drupal_get_path('module', 'content_profile') .'/views', ), 'handlers' => array( 'content_profile_views_handler_relationship' => array( 'parent' => 'views_handler_relationship', ), ), ); }