I'm "cutting my teeth" in Drupal 8 on the Webform module so these are going to be rather naive questions.
I need to programmatically fill a URL field in the form with an XML file that
I generate from the other data in the form and do it just before the submit
so that the form is complete. To do so I figured using a webform handler is
the way to go and I have been using
webform_example_handler as my
Now for my ridiculous naivety, just a few basic questions:
webform_example_handler.schema.yml the first line is:
"webform.handler.example". Is this a standard Drupal construct of
something specific that must be followed set by the webform module
or am I completely off base on how this is derived?
I would guess that for my
module the line would be:
"webform.webform.webform_example_handler.yml" file: could someone explain the parts? In my module would it be:
Last: I have built my webform through the interface so I assume that I don't
need the file
"webform.webform.webform_example_handler.yml" as that would
only be for creating a webform from a yml file upon installing the module as
far as I can tell. However, is there something in my webform that I need to
set so that it knows about my
Could someone please tell me what key thing(s) I need to do to make that connection or is that all automatic as long as you clear the Plugin cache? (I just discovered that cache through the "Admin Toolbar" module).
I realize this could be done through one of the webform hooks but I would rather use a handler as part of getting familiar with Drupal 8 in general.