You are here

function _webform_edit_link in Webform Link 7

Same name and namespace in other branches
  1. 6 components/link.inc \_webform_edit_link()

Implements _webform_edit_component().

File

components/link.inc, line 29
Webform Link component

Code

function _webform_edit_link($component) {
  $form = array();
  $form['value'] = array(
    '#type' => 'textfield',
    '#title' => t('Default URL'),
    '#default_value' => $component['value'],
    '#description' => t('The default URL of the field.') . theme('webform_token_help'),
    '#size' => 60,
    '#maxlength' => 1024,
    '#weight' => 0,
  );
  return $form;
}