You are here

function panels_uid_panels_arguments in Panels 5.2

Same name and namespace in other branches
  1. 6.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',
  );
  return $args;
}