trigger_forms()
drupal/modules/trigger/trigger.module, line 160
Implementation of hook_forms(). We reuse code by using the same assignment form definition for each node-op combination.
function trigger_forms() {
$hooks = module_invoke_all('hook_info');
foreach ($hooks as $module => $info) {
foreach ($hooks[$module] as $hook => $ops) {
foreach ($ops as $op => $description) {
$forms['trigger_' . $hook . '_' . $op . '_assign_form'] = array('callback' => 'trigger_assign_form');
}
}
}
return $forms;
}