1
|
<?php
|
2
|
|
3
|
/**
|
4
|
* @file
|
5
|
* webform_validation_testing.features.inc
|
6
|
*/
|
7
|
|
8
|
/**
|
9
|
* Implements hook_node_info().
|
10
|
*/
|
11
|
function webform_validation_testing_node_info() {
|
12
|
$items = array(
|
13
|
'webform' => array(
|
14
|
'name' => t('Webform'),
|
15
|
'base' => 'node_content',
|
16
|
'description' => t('Create a new form or questionnaire accessible to users. Submission results and statistics are recorded and accessible to privileged users.'),
|
17
|
'has_title' => '1',
|
18
|
'title_label' => t('Title'),
|
19
|
'help' => '',
|
20
|
),
|
21
|
);
|
22
|
drupal_alter('node_info', $items);
|
23
|
return $items;
|
24
|
}
|