function rules_external_help in Rules 7.2
Helper function to keep track of external documentation pages for Rules.
Parameters
string $topic: The topic key for used for identifying help pages.
Return value
string|array|false Either a URL for the given page, or the full list of external help pages.
10 calls to rules_external_help()
- RulesConditionContainerUI::form in ui/
ui.core.inc - Implements RulesPluginUIInterface::form().
- RulesDataUI::selectionForm in ui/
ui.data.inc - Provides the selection form for a parameter.
- RulesLoop::pluginParameterInfo in includes/
rules.plugins.inc - Returns info about parameters needed by the plugin.
- RulesPluginUI::settingsForm in ui/
ui.core.inc - Adds the configuration settings form (label, tags, description, ...).
- RulesTokenEvaluator::help in modules/
system.eval.inc - Create documentation about the available replacement patterns.
File
- ./
rules.module, line 1639 - Rules engine module.
Code
function rules_external_help($topic = NULL) {
$help = array(
'rules' => 'https://www.drupal.org/node/298480',
'terminology' => 'https://www.drupal.org/node/1299990',
'condition-components' => 'https://www.drupal.org/node/1300034',
'data-selection' => 'https://www.drupal.org/node/1300042',
'chained-tokens' => 'https://www.drupal.org/node/1300042',
'loops' => 'https://www.drupal.org/node/1300058',
'components' => 'https://www.drupal.org/node/1300024',
'component-types' => 'https://www.drupal.org/node/1300024',
'variables' => 'https://www.drupal.org/node/1300024',
'scheduler' => 'https://www.drupal.org/node/1300068',
'coding' => 'https://www.drupal.org/node/878720',
);
if (isset($topic)) {
return isset($help[$topic]) ? $help[$topic] : FALSE;
}
return $help;
}