You are here

final public function AppCreateForm::form in Apigee Edge 8

Gets the actual form array to be built.

Overrides AppForm::form

See also

\Drupal\Core\Entity\EntityForm::processForm()

\Drupal\Core\Entity\EntityForm::afterBuild()

File

src/Entity/Form/AppCreateForm.php, line 74

Class

AppCreateForm
Base entity form for developer- and team (company) app create forms.

Namespace

Drupal\apigee_edge\Entity\Form

Code

public final function form(array $form, FormStateInterface $form_state) {
  $form = parent::form($form, $form_state);
  $this
    ->alterFormBeforeApiProductElement($form, $form_state);
  $form['api_products'] = $this
    ->apiProductsFormElement($form, $form_state);
  $this
    ->alterFormWithApiProductElement($form, $form_state);
  return $form;
}