You are here

public function DeveloperAppApiKeyAddForm::buildForm in Apigee Edge 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 AppApiKeyAddFormBase::buildForm

File

src/Form/DeveloperAppApiKeyAddForm.php, line 45

Class

DeveloperAppApiKeyAddForm
Provides API key add form for developer app.

Namespace

Drupal\apigee_edge\Form

Code

public function buildForm(array $form, FormStateInterface $form_state, ?AppInterface $app = NULL, ?UserInterface $user = NULL) {
  $this->user = $user;
  return parent::buildForm($form, $form_state, $app);
}