You are here

function content_rules_action_info in Content Construction Kit (CCK) 6.2

Same name and namespace in other branches
  1. 6.3 includes/content.rules.inc \content_rules_action_info()

Implementation of hook_rules_action_info().

File

includes/content.rules.inc, line 11
Provides basic rules module support.

Code

function content_rules_action_info() {
  $info = array();
  $info['content_rules_action_populate_field'] = array(
    'label' => t('Populate a field'),
    'arguments' => array(
      'node' => array(
        'type' => 'node',
        'label' => t('Content'),
      ),
    ),
    'eval input' => array(
      'code',
    ),
    'help' => t('You should make sure that the used field exists in the given content type.'),
    'module' => 'CCK',
  );
  return $info;
}