function user_relationship_views_views_arguments in User Relationships 5.2
views_arguments_hook()
File
- plugins/
user_relationship_views/ user_relationship_views.module, line 256
Code
function user_relationship_views_views_arguments() {
return array(
'ur_uid' => array(
'name' => t('User Relationships: UID is related to Author'),
'handler' => 'user_relationship_views_arg_handler',
'help' => t('The User ID argument allows users to filter to nodes authored by users related to the specified user ID. ' . 'Use the option to filter to a particular relationship type.'),
),
'ur_rtid' => array(
'name' => t('User Relationships: Author is related to UID through RTID'),
'handler' => 'user_relationship_views_arg_handler',
'help' => t('The Relationship Type ID allows users to filter to nodes whose author is related to the specified user ID ' . 'through the relationship type ID specified in the argument. This should be used in conjunction with ' . '"UID is related to Author"'),
),
'ur_approved' => array(
'name' => t('User Relationships: UID to Author is (Non-)Approved'),
'handler' => 'user_relationship_views_arg_handler',
'help' => t('The Approved argument allows users to filter to nodes where the relationship between the specified UID ' . 'and the Author is approved (1) or not approved (0)'),
),
);
}