-
Notifications
You must be signed in to change notification settings - Fork 1
os2web_key #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
os2web_key #1
Conversation
5d2f117
to
76bdd06
Compare
/** | ||
* Runtime exception. | ||
*/ | ||
class RuntimeException extends \RuntimeException { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would it be better to rename this exception to something like ModuleRuntimeExeception
or SSLRuntimeException
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That would not add any value. The RuntimeException
is namespaced and can be aliased (use … as …
) if need be.
* {@inheritdoc} | ||
*/ | ||
public function validateConfigurationForm(array &$form, FormStateInterface $form_state): void { | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Empty validation function, would it be possible to validate the Passphrase
for the certificate in some way if one is given?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actual validation is performed in validateKeyValue
. I've added a comment telling this in 0eb16ad.
Adds
os2web_key
module. See https://github.com/OS2web/os2web_key/blob/os2web_key/README.md for details.