You are here

function mobile_number_webform_component_info in Mobile Number 7

Implements hook_webform_component_info().

File

./mobile_number.module, line 1148
mobile_number.module

Code

function mobile_number_webform_component_info() {
  $components = array();
  $components['mobile_number'] = array(
    'label' => t('Mobile Number'),
    'description' => t('Mobile number.'),
    'features' => array(
      'csv' => TRUE,
      'email' => TRUE,
      'email_address' => FALSE,
      'email_name' => FALSE,
      'required' => TRUE,
      'conditional' => FALSE,
      'group' => FALSE,
      'spam_analysis' => FALSE,
      'attachment' => FALSE,
    ),
    'file' => 'components/mobile_number.inc',
  );
  return $components;
}