We have the choice of changing the output of various aspects of Webform within the pertinent template files directly or by means of theme preprocessing functions.
The rule of thumb is that we should make changes within the template file if our coding contains more HTML than PHP logic, otherwise the coding should go into a preprocessing function. In this exercise, we're going to do a little of each to demonstrate the underlying principles.
Let's move on now and have a brief look at how we may interact with the internals of the Drupal theme layer.
webform-confirmation.tpl.phpfile from our
speakers/templatesfolder and place it in our