Révision 13c3c9b4
Ajouté par Assos Assos il y a environ 9 ans
drupal7/sites/all/modules/advanced_forum/plugins/arguments/forum_id.inc | ||
---|---|---|
2 | 2 |
|
3 | 3 |
/** |
4 | 4 |
* @file |
5 |
* |
|
6 | 5 |
* Plugin to provide an argument handler for a user id |
7 | 6 |
*/ |
7 |
|
|
8 | 8 |
/** |
9 | 9 |
* Plugins are described by creating a $plugin array which will be used |
10 | 10 |
* by the system that includes this file. |
11 | 11 |
*/ |
12 | 12 |
$plugin = array( |
13 | 13 |
'title' => t("Forum: ID"), |
14 |
// keyword to use for %substitution
|
|
14 |
// Keyword to use for %substitution.
|
|
15 | 15 |
'keyword' => 'forum', |
16 | 16 |
'description' => t('Creates a forum context from a forum ID argument.'), |
17 | 17 |
'context' => 'advanced_forum_argument_forum_id_context', |
... | ... | |
54 | 54 |
} |
55 | 55 |
|
56 | 56 |
/** |
57 |
* Settings form for the argument |
|
57 |
* Settings form for the argument.
|
|
58 | 58 |
*/ |
59 | 59 |
function advanced_forum_forum_id_settings_form(&$form, &$form_state, $conf) { |
60 | 60 |
$form['settings']['breadcrumb'] = array( |
Formats disponibles : Unified diff
Weekly update of contrib modules