[support] Extending existing module
Jamie Holly
hovercrafter at earthlink.net
Tue May 27 19:08:03 UTC 2014
hook_form_alter:
https://api.drupal.org/api/drupal/modules%21system%21system.api.php/function/hook_form_alter/7
You can add another validation callback to the $form['#validate'] array.
Jamie Holly
http://hollyit.net
On 5/27/2014 2:40 PM, Afan Pasalic wrote:
> Hi,
> This time I didn’t do anything embarrassing. :-)
>
> How can I extend an existing module? E.g. I want to add some features/validations in web form module. I know I MUST NOT change the code in the webform module itself.
> I believe there is some solution to extend a module. Something like extending a theme (sub-theme). And updating the module will not break the website.
More information about the support
mailing list