You are here

function rb_misc_action_get_url_alias_form in Rules Bonus Pack 6

Configuration form for 'rb_misc_action_get_url_alias'.

File

./rb_misc.module, line 378
Miscellaneous conditions and actions for Rules.

Code

function rb_misc_action_get_url_alias_form($settings, &$form) {
  $form['settings']['path'] = array(
    '#type' => 'textfield',
    '#default_value' => $settings['path'],
    '#title' => t('Internal path'),
    '#description' => t('The internal path to get an alias for. If no alias is
      set, the internal path itself will be returned.'),
  );
}