You are here

public function LiveWeatherDeleteForm::buildForm in Live Weather 8.2

Same name and namespace in other branches
  1. 8 src/Form/LiveWeatherDeleteForm.php \Drupal\live_weather\Form\LiveWeatherDeleteForm::buildForm()

Form constructor.

Parameters

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

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

Return value

array The form structure.

Overrides ConfirmFormBase::buildForm

File

src/Form/LiveWeatherDeleteForm.php, line 83
Contains \Drupal\live_weather\Form\LiveWeatherDeleteForm.

Class

LiveWeatherDeleteForm
Builds the form to delete the location.

Namespace

Drupal\live_weather\Form

Code

public function buildForm(array $form, FormStateInterface $form_state, $woeid = NULL) {
  $this->woeid = $woeid;
  return parent::buildForm($form, $form_state);
}