Révision c304a780
Ajouté par Assos Assos il y a environ 6 ans
drupal7/sites/all/modules/ctools/plugins/arguments/uid.inc | ||
---|---|---|
2 | 2 |
|
3 | 3 |
/** |
4 | 4 |
* @file |
5 |
* |
|
6 |
* Plugin to provide an argument handler for a user id |
|
5 |
* Plugin to provide an argument handler for a user id. |
|
7 | 6 |
*/ |
8 | 7 |
|
9 | 8 |
/** |
... | ... | |
12 | 11 |
*/ |
13 | 12 |
$plugin = array( |
14 | 13 |
'title' => t("User: ID"), |
15 |
// keyword to use for %substitution
|
|
14 |
// Keyword to use for %substitution.
|
|
16 | 15 |
'keyword' => 'user', |
17 | 16 |
'description' => t('Creates a user context from a user ID argument.'), |
18 | 17 |
'context' => 'ctools_argument_uid_context', |
... | ... | |
21 | 20 |
'#description' => t('Enter the user ID of a user for this argument'), |
22 | 21 |
), |
23 | 22 |
'default' => array('to_arg' => TRUE), |
24 |
'path placeholder' => '%pm_uid_arg', // This is in pagemanager. |
|
23 |
// This is in pagemanager. |
|
24 |
'path placeholder' => '%pm_uid_arg', |
|
25 | 25 |
'path placeholder to_arg' => TRUE, |
26 | 26 |
'no ui' => TRUE, |
27 | 27 |
); |
Formats disponibles : Unified diff
Weekly update of contrib modules