将函数挂钩到Drupal中的模块中

问题描述 投票:0回答:1

如何更改uc_order_view_update_form($form_state, $order)功能?这存在于ubercart\uc_order\uc_order.order_pane.inc。我不知道如何为这个功能挂钩。

drupal-6 hook
1个回答
0
投票

您可以使用hook_form_alter从自定义模块中安全地修改Drupal中的任何表单。

© www.soinside.com 2019 - 2024. All rights reserved.