function taxonomy_display_admin_form_validate in Taxonomy display 7
Form validate callback; validate Taxonomy Display settings for term pages.
1 string reference to 'taxonomy_display_admin_form_validate'
- taxonomy_display_admin_form in ./
taxonomy_display.admin.inc - Helper callback; perform form alterations for taxonomy display admin form.
File
- ./
taxonomy_display.admin.inc, line 147 - Administration form functions for taxonomy display configuration.
Code
function taxonomy_display_admin_form_validate($form, &$form_state) {
$values =& $form_state['values']['additional_settings']['taxonomy_display'];
$td_form =& $form['additional_settings']['taxonomy_display'];
$plugin_types = _taxonomy_display_plugin_types();
// Perform submit functions for our plugins.
foreach ($plugin_types as $k => $v) {
if ($values[$k . '_display_select'] != 'missing') {
$class = new $values[$k . '_display_select']();
$class
->formValidate($td_form[$k . '_display_form'], $values[$k . '_display_form']);
}
}
}