function RulesTestClassAction::getInfo
Defines the action.
File
-
tests/
rules_test.rules.inc, line 254
Class
- RulesTestClassAction
- Action for testing writing class-based actions.
Code
public static function getInfo() {
return array(
'name' => 'rules_test_class_action',
'label' => t('Test class based action'),
'group' => t('Node'),
'parameter' => array(
'node' => array(
'type' => 'node',
'label' => t('Node'),
),
),
);
}