public function DeveloperAppCreateFormForDeveloper::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 EntityForm::buildForm
File
- src/
Entity/ Form/ DeveloperAppCreateFormForDeveloper.php, line 41
Class
- DeveloperAppCreateFormForDeveloper
- Dedicated form handler that allows a developer to create an developer app.
Namespace
Drupal\apigee_edge\Entity\FormCode
public function buildForm(array $form, FormStateInterface $form_state, UserInterface $user = NULL) {
// This is the only place where we can grab additional route parameters.
// See implementation in parent.
$this->user = $user;
return parent::buildForm($form, $form_state);
}