You are here

public function FacDeleteFilesForm::buildForm in Fast Autocomplete 8

Parameters

array $form: The form array.

\Drupal\Core\Form\FormStateInterface $form_state: The form state.

string $fac_config_id: The system_name of the FacConfig to delete the json files of.

Overrides ConfirmFormBase::buildForm

File

src/Form/FacDeleteFilesForm.php, line 100

Class

FacDeleteFilesForm
Class FacDeleteFilesForm.

Namespace

Drupal\fac\Form

Code

public function buildForm(array $form, FormStateInterface $form_state, $fac_config_id = '') {
  $this->facConfig = $this->facConfigStorage
    ->load($fac_config_id);
  return parent::buildForm($form, $form_state);
}