function acquia_purge_rules_action_info in Acquia Purge 6
Same name and namespace in other branches
- 7 acquia_purge.rules.inc \acquia_purge_rules_action_info()
Implements hook_rules_action_info().
File
- ./
acquia_purge.rules.inc, line 11 - Rules integration that provides a purge action as rule action.
Code
function acquia_purge_rules_action_info() {
return array(
'_acquia_purge_action_purge' => array(
'label' => t('Purge a path from Varnish on Acquia Cloud'),
'module' => t('System'),
'arguments' => array(
'path' => array(
'type' => 'string',
'label' => t('Path'),
'description' => t('The Drupal path that needs to be purged as
relative from the document root of the site. Examples are "node/1"
and "news" and there is no need to add a slash at the beginning or
end.'),
),
),
),
);
}