function webform_test_test_composite_format in Webform 6.x
Same name and namespace in other branches
- 8.5 tests/modules/webform_test/includes/webform_test.test_composite_format.inc \webform_test_test_composite_format()
Generate test composite element formats.
Return value
array An array containing test elements formats.
File
- tests/
modules/ webform_test/ includes/ webform_test.test_composite_format.inc, line 18 - Generate test composite elements with formatting.
Code
function webform_test_test_composite_format(WebformInterface $webform) {
return webform_test_test_element_format($webform, TRUE, FALSE);
}