You are here

public function AppForm::__construct in Apigee Edge 8

Constructs AppCreationForm.

Parameters

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.

2 calls to AppForm::__construct()
AppCreateForm::__construct in src/Entity/Form/AppCreateForm.php
AppCreateForm constructor.
AppEditForm::__construct in src/Entity/Form/AppEditForm.php
AppEditForm constructor.
2 methods override AppForm::__construct()
AppCreateForm::__construct in src/Entity/Form/AppCreateForm.php
AppCreateForm constructor.
AppEditForm::__construct in src/Entity/Form/AppEditForm.php
AppEditForm constructor.

File

src/Entity/Form/AppForm.php, line 46

Class

AppForm
Base entity form for developer- and team (company) app create/edit forms.

Namespace

Drupal\apigee_edge\Entity\Form

Code

public function __construct(EntityTypeManagerInterface $entity_type_manager) {

  // Ensure entity type manager is always initialized.
  $this->entityTypeManager = $entity_type_manager;
}