public function BulkUserImport::validateForm in Bulk User Registration 8
Form validation handler.
Parameters
array $form: An associative array containing the structure of the form.
\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.
Overrides FormBase::validateForm
File
- src/
Form/ BulkUserImport.php, line 109
Class
- BulkUserImport
- Bulk user import form.
Namespace
Drupal\bulk_user_registration\FormCode
public function validateForm(array &$form, FormStateInterface $form_state) {
// TODO Prevent form submit when file_upload is empty.
}