You are here

webform_serial.module in Webform Serial 7

Webform module serial component hook implementations.

File

webform_serial.module
View source
<?php

/**
 * @file
 * Webform module serial component hook implementations.
 */

/**
 * Implements hook_webform_component_info().
 */
function webform_serial_webform_component_info() {
  $components = array();
  $components['serial'] = array(
    'label' => t('Serial'),
    'description' => t('Provides a serial (auto-increment number) field.'),
    'features' => array(
      'csv' => TRUE,
      'email' => TRUE,
      'required' => FALSE,
      'conditional' => FALSE,
      'title_display' => TRUE,
      'title_inline' => TRUE,
    ),
    'file' => 'components/serial.inc',
  );
  return $components;
}