protected property ServicesResourceWebformTests::$form_components in Webform Service 7.4
File
- tests/
ServicesResourceWebformTests.test, line 14
Class
- ServicesResourceWebformTests
- Run test cases for the endpoint with no authentication turned on.
Code
protected $form_components = array(
1 => array(
'form_key' => 'first_name',
'type' => 'textfield',
'name' => 'First Name',
),
2 => array(
'form_key' => 'last_name',
'type' => 'textfield',
'name' => 'Last Name',
),
3 => array(
'form_key' => 'email',
'type' => 'email',
'name' => 'Email',
),
);