function acquia_purge_rules_action_info in Acquia Purge 7
Same name and namespace in other branches
- 6 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() {
// Original rule action that was only able to purge paths using Acquia Purge
// but which now maps to the same callback as "Clear pages on Acquia Cloud.".
return array(
'_acquia_purge_action_purge' => array(
'label' => t('Purge a path from Varnish on Acquia Cloud (OBSOLETE!)'),
'group' => t('Expire'),
'parameter' => array(
'path' => array(
'type' => 'text',
'label' => t('Path'),
'description' => t('This rule gets removed in future versions as it is obsolete, please use the new and better "Clear pages on Acquia Cloud" rule action.'),
),
),
),
);
}