You are here

public function FacetSettingsForm::submitAjaxFacetSourceConfigForm in Facets 8

Handles form submissions for the facet source subform.

File

src/Form/FacetSettingsForm.php, line 188

Class

FacetSettingsForm
Provides a form for creating and editing facets.

Namespace

Drupal\facets\Form

Code

public function submitAjaxFacetSourceConfigForm($form, FormStateInterface $form_state) {
  $form_state
    ->setValue('id', NULL);
  $form_state
    ->setRebuild();
}