public function DeveloperAppAnalyticsFormForDeveloper::buildForm in Apigee Edge 8
This override here is important because the name of the third parameter is different. This way, Drupal's routing system can correctly identify it and pass the parameter from the URL.
Overrides DeveloperAppAnalyticsForm::buildForm
File
- src/
Form/ DeveloperAppAnalyticsFormForDeveloper.php, line 38
Class
- DeveloperAppAnalyticsFormForDeveloper
- Displays the analytics page of a developer app for a given user on the UI.
Namespace
Drupal\apigee_edge\FormCode
public function buildForm(array $form, FormStateInterface $form_state, ?AppInterface $app = NULL) {
// Pass the "app" (!= developer_app) from the route to the parent.
return parent::buildForm($form, $form_state, $app);
}