You are here

function rb_cck_action_get_field_value_form in Rules Bonus Pack 6

Configuration form for 'rb_cck_action_get_field_value'.

File

./rb_cck.module, line 511
Functions for extending CCK field management with Rules.

Code

function rb_cck_action_get_field_value_form($settings, &$form) {
  $form['settings']['field'] = array(
    '#type' => 'select',
    '#title' => t('Field'),
    '#options' => rb_cck_fields(''),
    '#default_value' => $settings['field'],
    '#description' => t('Note that only fields with a single storage values are
      supported.'),
  );
}