From 2f52a58dd2c68e917700deea4369e7928537b7aa Mon Sep 17 00:00:00 2001 From: Stanislav Kutasevits Date: Tue, 29 Sep 2026 15:27:50 +0300 Subject: [PATCH] OS-320 SBSYS child elements integration --- CHANGELOG.md | 1 + .../Plugin/WebformElement/MitidChildElementBase.php | 2 +- .../WebformElement/NemidChildElementInterface.php | 10 ++++++++++ .../src/Plugin/WebformElement/NemidChildrenRadios.php | 2 +- .../src/Plugin/WebformElement/NemidChildrenSelect.php | 2 +- .../src/Element/WebformAttachmentSbsysXml.php | 4 ++++ .../WebformElement/WebformAttachmentSbsysXml.php | 7 ++++++- 7 files changed, 24 insertions(+), 4 deletions(-) create mode 100644 modules/os2forms_nemid/src/Plugin/WebformElement/NemidChildElementInterface.php diff --git a/CHANGELOG.md b/CHANGELOG.md index fd3935f9..f8949539 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,7 @@ before starting to add changes. Use example [placed in the end of the page](#exa Drupal 11 compatibility. - [#355](https://github.com/OS2Forms/os2forms/issues/355) Children select elements warning fix. +- Adding children information to Attachment SBSYS ## [5.1.0] 2026-06-03 diff --git a/modules/os2forms_nemid/src/Plugin/WebformElement/MitidChildElementBase.php b/modules/os2forms_nemid/src/Plugin/WebformElement/MitidChildElementBase.php index fbdd7dca..79d78cc4 100644 --- a/modules/os2forms_nemid/src/Plugin/WebformElement/MitidChildElementBase.php +++ b/modules/os2forms_nemid/src/Plugin/WebformElement/MitidChildElementBase.php @@ -12,7 +12,7 @@ * @see \Drupal\webform\Plugin\WebformElementInterface * @see \Drupal\webform\Annotation\WebformElement */ -abstract class MitidChildElementBase extends WebformElementBase { +abstract class MitidChildElementBase extends WebformElementBase implements NemidChildElementInterface { /** * {@inheritdoc} diff --git a/modules/os2forms_nemid/src/Plugin/WebformElement/NemidChildElementInterface.php b/modules/os2forms_nemid/src/Plugin/WebformElement/NemidChildElementInterface.php new file mode 100644 index 00000000..967b3c77 --- /dev/null +++ b/modules/os2forms_nemid/src/Plugin/WebformElement/NemidChildElementInterface.php @@ -0,0 +1,10 @@ +