function panels_uid_panels_arguments in Panels 6.2
Same name and namespace in other branches
- 5.2 arguments/uid.inc \panels_uid_panels_arguments()
@file arguments/uid.inc
Plugin to provide an argument handler for a user id
File
- arguments/
uid.inc, line 9 - arguments/uid.inc
Code
function panels_uid_panels_arguments() {
$args['uid'] = array(
'title' => t("User ID"),
// keyword to use for %substitution
'keyword' => 'user',
'description' => t('Creates a user object from the argument.'),
'context' => 'panels_uid_context',
'settings form' => 'panels_uid_settings_form',
'settings form submit' => 'panels_uid_settings_form_submit',
'displays' => 'panels_uid_displays',
'choose display' => 'panels_uid_choose_display',
'native path' => 'user/%user_uid_optional',
'load function' => 'user',
);
return $args;
}