You are here

function field_rules_rules_event_info in Field Rules 7

Implementation of hook_rules_event_info().

File

./field_rules.rules.inc, line 7

Code

function field_rules_rules_event_info() {
  $info = array();
  $info['node_type_insert'] = array(
    'group' => t('Data'),
    'module' => 'field_rules',
    'access callback' => 'field_rules_access',
    'label' => t('After saving a new content type'),
    'variables' => array(
      'node_type' => array(
        'type' => 'node_type',
        'label' => t('Node type'),
      ),
    ),
  );
  return $info;
}