You are here

function conditional_fields_element_info_alter in Conditional Fields 4.x

Same name and namespace in other branches
  1. 8 conditional_fields.module \conditional_fields_element_info_alter()
  2. 7.3 conditional_fields.module \conditional_fields_element_info_alter()

Implements hook_element_info_alter().

See also

conditional_fields_element_after_build()

File

./conditional_fields.module, line 71
Contains conditional_fields.module.

Code

function conditional_fields_element_info_alter(array &$types) {
  foreach ($types as $type => $info) {
    $types[$type]['#after_build'][] = 'conditional_fields_element_after_build';
  }
}