You are here

public function ShurlyDeactivateForm::buildForm in ShURLy 8

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/ShurlyDeactivateForm.php, line 83

Class

ShurlyDeactivateForm
ShurlyDeactivateForm.

Namespace

Drupal\shurly\Form

Code

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