From 5e28c1d201f35209dfd5750b55ba6493323b3cfa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Noco=C5=84?= Date: Mon, 22 Sep 2025 18:58:03 +0200 Subject: [PATCH] Adjusted lines for Form Builder API --- docs/content_management/forms/form_api.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/content_management/forms/form_api.md b/docs/content_management/forms/form_api.md index 925f089962..3749ee0b8e 100644 --- a/docs/content_management/forms/form_api.md +++ b/docs/content_management/forms/form_api.md @@ -14,13 +14,13 @@ To manage form submissions created in the [Form Builder](form_builder_guide.md), To get existing form submissions, use `FormSubmissionServiceInterface::loadByContent()` (which takes a `ContentInfo` object as parameter), or `FormSubmissionServiceInterface::loadById()`. ``` php -[[= include_file('code_samples/api/public_php_api/src/Command/FormSubmissionCommand.php', 46, 46) =]] +[[= include_file('code_samples/api/public_php_api/src/Command/FormSubmissionCommand.php', 49, 50) =]] ``` Through this object, you can get information about submissions, such as their total number, and submission contents. ``` php -[[= include_file('code_samples/api/public_php_api/src/Command/FormSubmissionCommand.php', 48, 56) =]] +[[= include_file('code_samples/api/public_php_api/src/Command/FormSubmissionCommand.php', 51, 60) =]] ``` ### Creating form submissions @@ -35,7 +35,7 @@ This method takes: - the array of form field values ``` php -[[= include_file('code_samples/api/public_php_api/src/Command/FormSubmissionCommand.php', 32, 44) =]] +[[= include_file('code_samples/api/public_php_api/src/Command/FormSubmissionCommand.php', 35, 48) =]] ``` ### Deleting form submissions @@ -43,5 +43,5 @@ This method takes: You can delete a form submission by using the `FormSubmissionServiceInterface::delete()` method. ``` php -[[= include_file('code_samples/api/public_php_api/src/Command/FormSubmissionCommand.php', 58, 59) =]] +[[= include_file('code_samples/api/public_php_api/src/Command/FormSubmissionCommand.php', 61, 63) =]] ```