You are here

function entity_translation_entity_form_validate in Entity Translation 7

Validation handler for the entity edit form.

1 string reference to 'entity_translation_entity_form_validate'
entity_translation_form_alter in ./entity_translation.module
Implements hook_form_alter().

File

./entity_translation.module, line 1568

Code

function entity_translation_entity_form_validate($form, &$form_state) {
  $handler = entity_translation_entity_form_get_handler($form, $form_state);
  if (!empty($handler)) {
    $handler
      ->entityFormValidate($form, $form_state);
  }
}