public function TeamAppApiKeyAddForm::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
- modules/
apigee_edge_teams/ src/ Form/ TeamAppApiKeyAddForm.php, line 46
Class
- TeamAppApiKeyAddForm
- Provides API key add form for team app.
Namespace
Drupal\apigee_edge_teams\FormCode
public function buildForm(array $form, FormStateInterface $form_state, ?AppInterface $app = NULL, ?TeamInterface $team = NULL) {
$this->team = $team;
return parent::buildForm($form, $form_state, $app);
}