You are here

function _webform_edit_mobile_number in Mobile Number 7

Webform mobile number settings form.

File

components/mobile_number.inc, line 31
Mobile_number.inc.

Code

function _webform_edit_mobile_number($component) {
  $instance['entity_type'] = 'node';
  $instance['widget']['settings'] = $component['extra'];
  $field['type'] = 'mobile_number';
  $form['extra'] = mobile_number_field_widget_settings_form($field, $instance);
  return $form;
}