You are here

function expire_rules_action_info in Cache Expiration 7

Same name and namespace in other branches
  1. 6 expire.rules.inc \expire_rules_action_info()
  2. 7.2 expire.rules.inc \expire_rules_action_info()

Implementation of hook_rules_action_info().

File

./expire.rules.inc, line 13
Integration with the rules module

Code

function expire_rules_action_info() {
  return array(
    'expire_flush_url' => array(
      'base' => 'expire_rules_action_flush_url',
      'label' => t('Clear URL(s) from the page cache.'),
      'parameter' => array(
        'urls' => array(
          'type' => 'text',
          'label' => t('URL of page to clear'),
          'description' => t('Full URL (including http://); node/8; taxonomy/term/3; user/5; path alias; & <front> will work. One Per line.'),
        ),
      ),
      'group' => 'Expire',
    ),
  );
}