You are here

public function AdminSettingsEvent::setForm in Smart IP 8.4

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

Set Form.

Parameters

array $form: An associative array containing the structure of the form.

File

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

Class

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

Namespace

Drupal\smart_ip

Code

public function setForm(array $form) {
  $this->form = $form;
}