You are here

function hook_fz152_info_alter in FZ152 7

Implements hook_fz152_info_alter().

With this hook you can modify form_id's and their checkboxes weight, or completely remove some of them from execution order.

1 invocation of hook_fz152_info_alter()
fz152_info in ./fz152.module
Invoke all hook_fz152_info().

File

./fz152.api.php, line 48
File with API from this module with examples.

Code

function hook_fz152_info_alter(&$forms) {
  foreach ($forms as $k => &$v) {
    if ($v['form_id'] == 'my_*_form') {
      $v['weight'] = 10;
    }
  }
}