I need to change the generated html (twig) of the search API module ( https://www.drupal.org/project/search_api ). The Module generates a form having 2 divs with input tag in each of them. I need it to be a form with one div having an input tag and an anchor tag!
What the module generates (in short)
<form> <div> <input> </div> <div> <input "submit-btn"> </div> </form>
What I want it to be
<form> <div> <input> <a "submit-btn"><img></a> </div> </form>
So basically, I need to be able to change the submit button to an image so I can place by "position:absolute" at the end of the first input field.
The search API module doesn't have the templates folder or any .twig files than I can overwrite. AND if I do overwrite the base theme form twig files that are used by the module, I cannot do it so that it changes only for this module and it doesn't change all other forms.
I am using drupal 8 btw.