This repository was archived by the owner on Nov 27, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ public function getTemplateContext(WebformSubmissionInterface $webformSubmission
102102 return [
103103 'label ' => $ webform ->label (),
104104 'recipient ' => $ recipient ,
105- 'submission ' => $ webformSubmissionRendered
105+ 'submission ' => $ webformSubmissionRendered,
106106 ];
107107 }
108108
@@ -114,7 +114,8 @@ public function getTemplateContext(WebformSubmissionInterface $webformSubmission
114114 * @param array $handlerConfiguration
115115 * Handler config.
116116 *
117- * @throws CprElementNotFoundInSubmissionException
117+ * @throws \Drupal\os2forms_digital_post\Exception\CprElementNotFoundInSubmissionException
118+ * @throws \Drupal\os2forms_digital_post\Exception\SubmissionNotFoundException
118119 * @throws \Drupal\Component\Plugin\Exception\InvalidPluginDefinitionException
119120 * @throws \Drupal\Component\Plugin\Exception\PluginNotFoundException
120121 * @throws \ItkDev\Serviceplatformen\Service\Exception\ServiceException
@@ -196,4 +197,5 @@ private function getSubmission(string $submissionId) {
196197 $ storage = $ this ->entityTypeManager ->getStorage ('webform_submission ' );
197198 return $ storage ->load ($ submissionId );
198199 }
200+
199201}
Original file line number Diff line number Diff line change @@ -67,4 +67,3 @@ public function process(Job $job): JobResult {
6767 }
6868
6969}
70-
Original file line number Diff line number Diff line change 55use Drupal \advancedqueue \Job ;
66use Drupal \Core \Form \FormStateInterface ;
77use Drupal \Core \Render \Element ;
8- use Drupal \os2forms_digital_post \Exception \CprElementNotFoundInSubmissionException ;
98use Drupal \os2forms_digital_post \Plugin \AdvancedQueue \JobType \SendDigitalPost ;
109use Drupal \webform \Plugin \WebformHandlerBase ;
1110use Drupal \webform \WebformInterface ;
You can’t perform that action at this time.
0 commit comments