function webform_field_extra_fields in Webform 7.4
Same name and namespace in other branches
- 7.3 webform.module \webform_field_extra_fields()
Implements hook_field_extra_fields().
File
- ./
webform.module, line 5345 - This module provides a simple way to create forms and questionnaires.
Code
function webform_field_extra_fields() {
$extra = array();
foreach (webform_node_types() as $type) {
$extra['node'][$type]['display']['webform'] = array(
'label' => t('Webform'),
'description' => t('Webform client form.'),
'weight' => 10,
);
}
return $extra;
}