function entity_ui_controller_form_validate in Entity API 7
Validation callback for forms implemented by the UI controller.
1 string reference to 'entity_ui_controller_form_validate'
- entity_ui_form_defaults in includes/
entity.ui.inc - Form wrapper callback for all entity ui forms.
File
- includes/
entity.ui.inc, line 713 - Provides a controller for building an entity overview form.
Code
function entity_ui_controller_form_validate($form, &$form_state) {
// Remove 'entity_ui_' prefix and the '_form' suffix.
$base = substr($form_state['build_info']['base_form_id'], 10, -5);
$method = $base . 'FormValidate';
entity_ui_controller($form_state['entity_type'])
->{$method}($form, $form_state);
}