Révision 7e72b748
Ajouté par Assos Assos il y a plus de 6 ans
drupal7/sites/all/modules/ctools/ctools_access_ruleset/plugins/access/ruleset.inc | ||
---|---|---|
35 | 35 |
$plugin['required context'] = array(); |
36 | 36 |
foreach ($item->requiredcontexts as $context) { |
37 | 37 |
$info = ctools_get_context($context['name']); |
38 |
// TODO: allow an optional setting |
|
38 |
// TODO: allow an optional setting.
|
|
39 | 39 |
$plugin['required context'][] = new ctools_context_required($context['identifier'], $info['context name']); |
40 | 40 |
} |
41 | 41 |
} |
... | ... | |
72 | 72 |
} |
73 | 73 |
|
74 | 74 |
/** |
75 |
* Settings form for the 'by ruleset' access plugin |
|
75 |
* Settings form for the 'by ruleset' access plugin.
|
|
76 | 76 |
*/ |
77 | 77 |
function ctools_ruleset_ctools_access_settings(&$form, &$form_state, $conf) { |
78 | 78 |
if (!empty($form_state['plugin']['ruleset']->admin_description)) { |
... | ... | |
106 | 106 |
return check_plain($plugin['ruleset']->admin_title); |
107 | 107 |
} |
108 | 108 |
} |
109 |
|
Formats disponibles : Unified diff
Weekly update of contrib modules