You are here

public function WebhookEnableForm::buildForm in Acquia Content Hub 8.2

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

modules/acquia_contenthub_publisher/src/Form/Webhook/WebhookEnableForm.php, line 58

Class

WebhookEnableForm
Class WebhookEnableForm.

Namespace

Drupal\acquia_contenthub_publisher\Form\Webhook

Code

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