function content_profile_action_load_form in Content Profile 6
File
- ./
content_profile.rules.inc, line 71 - Some rules conditions/actions
Code
function content_profile_action_load_form($settings, &$form) {
$settings += array(
'type' => array(),
);
$form['settings']['type'] = array(
'#type' => 'select',
'#title' => t('Content Profile Content Type'),
'#options' => content_profile_get_types('names'),
'#default_value' => $settings['type'],
'#description' => t('Select the Content Profile content type to load.'),
'#required' => TRUE,
);
}