You are here

function filter_configure_form in Ubercart 6.2

Configure the #parents and #id field of any child filter_forms.

Unfortunately, FAPI doesn't give us any way to know we have a filter element, so we require all filters to have an #is_format element.

2 calls to filter_configure_form()
ca_actions_form in ca/ca.admin.inc
Build a form for adding and editing actions on a predicate.
ca_conditions_form in ca/ca.admin.inc
Build a form for adding and editing conditions on a predicate.

File

ca/ca.module, line 1035
This is a demonstration module for the new conditional actions API.

Code

function filter_configure_form(&$form) {

  // Grab all the filters, and search for the formats.
  $formats = filter_formats();
  _filter_configure_form_recur($form, $formats, array());
}