You are here

function ddf_element_info_alter in Dynamic dependent fields 7

Implements hook_element_info_alter().

Adds an #after_build function to all form elements.

File

./ddf.module, line 227

Code

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