You are here

public function AdminSettingsEvent::setFormState in Smart IP 8.4

Same name and namespace in other branches
  1. 8.2 src/AdminSettingsEvent.php \Drupal\smart_ip\AdminSettingsEvent::setFormState()
  2. 8.3 src/AdminSettingsEvent.php \Drupal\smart_ip\AdminSettingsEvent::setFormState()

Set the state of form.

Parameters

\Drupal\Core\Form\FormStateInterface $formState: The current state of the form.

File

src/AdminSettingsEvent.php, line 77
Contains \Drupal\smart_ip\AdminSettingsEvent.

Class

AdminSettingsEvent
Provides Smart IP admin settings override event for event listeners.

Namespace

Drupal\smart_ip

Code

public function setFormState(FormStateInterface $formState) {
  $this->formState = $formState;
}