You are here

public static function RulesHookHandler::hookRulesActionInfo in Node expire 7.2

Implements hook_rules_action_info().

1 call to RulesHookHandler::hookRulesActionInfo()
node_expire_rules_action_info in ./node_expire.rules.inc
Implements hook_rules_action_info().

File

src/Module/Hook/RulesHookHandler.php, line 20
RulesHookHandler class.

Class

RulesHookHandler
RulesHookHandler class.

Namespace

Drupal\node_expire\Module\Hook

Code

public static function hookRulesActionInfo() {
  return array(
    'node_expire_unset_expired' => array(
      'arguments' => array(
        'node' => array(
          'type' => 'node',
          'label' => t('content expired'),
        ),
      ),
      'label' => t('Unset the expired flag'),
      'module' => 'node_expire',
    ),
    'node_expire_update_lastnotify' => array(
      'arguments' => array(
        'node' => array(
          'type' => 'node',
          'label' => t('content expired'),
        ),
      ),
      'label' => t('Update lastnotify'),
      'module' => 'node_expire',
    ),
  );
}