Skip to content

Commit ed1886b

Browse files
authored
Adjusted lines for Form Builder API (#2916)
1 parent fbb8ca4 commit ed1886b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/content_management/forms/form_api.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ To manage form submissions created in the [Form Builder](form_builder_guide.md),
1414
To get existing form submissions, use `FormSubmissionServiceInterface::loadByContent()` (which takes a `ContentInfo` object as parameter), or `FormSubmissionServiceInterface::loadById()`.
1515

1616
``` php
17-
[[= include_file('code_samples/api/public_php_api/src/Command/FormSubmissionCommand.php', 46, 46) =]]
17+
[[= include_file('code_samples/api/public_php_api/src/Command/FormSubmissionCommand.php', 49, 50) =]]
1818
```
1919

2020
Through this object, you can get information about submissions, such as their total number, and submission contents.
2121

2222
``` php
23-
[[= include_file('code_samples/api/public_php_api/src/Command/FormSubmissionCommand.php', 48, 56) =]]
23+
[[= include_file('code_samples/api/public_php_api/src/Command/FormSubmissionCommand.php', 51, 60) =]]
2424
```
2525

2626
### Creating form submissions
@@ -35,13 +35,13 @@ This method takes:
3535
- the array of form field values
3636

3737
``` php
38-
[[= include_file('code_samples/api/public_php_api/src/Command/FormSubmissionCommand.php', 32, 44) =]]
38+
[[= include_file('code_samples/api/public_php_api/src/Command/FormSubmissionCommand.php', 35, 48) =]]
3939
```
4040

4141
### Deleting form submissions
4242

4343
You can delete a form submission by using the `FormSubmissionServiceInterface::delete()` method.
4444

4545
``` php
46-
[[= include_file('code_samples/api/public_php_api/src/Command/FormSubmissionCommand.php', 58, 59) =]]
46+
[[= include_file('code_samples/api/public_php_api/src/Command/FormSubmissionCommand.php', 61, 63) =]]
4747
```

0 commit comments

Comments
 (0)