It won't have a noticeable impact. Just wrap all your code in an if statement checking against the form ID:
<?php
function example_form_alter($form_id, &$form) {
if ($form_id == 'the_form_id') {
// Code goes here. 
}
}
?>
|
UbercartOne cart to rule them all... |
|
| Donate | Affiliates | Sponsors | ||
Re: hook_form_alter() hooks all of Drupal forms
#1 Fri, 02/08/2008 - 10:10
It won't have a noticeable impact. Just wrap all your code in an if statement checking against the form ID: <?phpMultiple currencies for products (28 replies) Tue, 09/25/2007 - 06:26
|
|
Joined: 08/07/2007