L
L
Lici2017-08-23 13:24:16
Drupal
Lici, 2017-08-23 13:24:16

Where is the application form file in Drupal php?

I need a file that works out when applying. So that I insert my code for sending a notification to telegram there. What is this file?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Viktor Bogutskii, 2017-08-24
@siteogra

There is no such file. In Drupal, you need to intercept the event in your module.
First you need to create your own module and make a hook in it that can pick up your event.
The name of the hook is key in this process. Dig here.
If the form is submitted by the webform module then look for the hooks of that module.
If I'm wrong somewhere, please correct me.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question