You are here

public function FlexiformBuilderEntityForm::formValidate in Flexiform 7

Validate the Fields

Overrides FlexiformBuilder::formValidate

File

includes/builder/entity_form.builder.inc, line 28
Contains the FlexiformBuilderEntityForm Class

Class

FlexiformBuilderEntityForm
Flexiform Builder Class for stock entity forms.

Code

public function formValidate($form, &$form_state) {
  field_attach_form_validate($this->base_entity_type, $this->base_entity, $form, $form_state);
  $this
    ->invoke($form, $form_state, 'validate');
}