public static function EntityconnectSubmit::validateSubmit in Entity connect 8.2
Form #validate callback for the entityconnect_submit element.
Used to bypass validation of the parent form.
Parameters
array $form: The parent form element.
\Drupal\Core\Form\FormStateInterface $form_state: The current form state.
File
- src/
Element/ EntityconnectSubmit.php, line 92
Class
- EntityconnectSubmit
- Provides a custom form submit button for entityconnect.
Namespace
Drupal\entityconnect\ElementCode
public static function validateSubmit(array $form, FormStateInterface $form_state) {
// Ignore all validation.
// @todo: Probably should validate the fields that were entered.
}