We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c7a3db commit 1bf1b06Copy full SHA for 1bf1b06
modules/os2forms_encrypt/src/Commands/Os2FormsEncryptCommands.php
@@ -58,6 +58,11 @@ public function enabledEncrypt(): void {
58
59
$defaultEncryptionProfile = $config->get('default_encryption_profile');
60
61
+ if (!$defaultEncryptionProfile) {
62
+ $this->output()->writeln('Default encryption profile is missing. Set one and try again.');
63
+ return;
64
+ }
65
+
66
// Get the storage for Webform entity type.
67
$webformStorage = $this->entityTypeManager->getStorage('webform');
68
0 commit comments