You are here

public function ApiDocReimportSpecForm::__construct in Apigee API Catalog 8.2

Same name and namespace in other branches
  1. 8 src/Entity/Form/ApiDocReimportSpecForm.php \Drupal\apigee_api_catalog\Entity\Form\ApiDocReimportSpecForm::__construct()

Constructs a ApiDocReimportSpecForm object.

Parameters

\Drupal\Core\Entity\EntityRepositoryInterface $entity_repository: The entity repository service.

\Drupal\Core\Entity\EntityTypeBundleInfoInterface $entity_type_bundle_info: The entity type bundle service.

\Drupal\Component\Datetime\TimeInterface $time: The time service.

\Drupal\Core\Messenger\MessengerInterface $messenger: The messenger service.

\Drupal\apigee_api_catalog\SpecFetcherInterface $spec_fetcher: The ApiDoc spec fetcher service.

Overrides ContentEntityForm::__construct

File

src/Entity/Form/ApiDocReimportSpecForm.php, line 73

Class

ApiDocReimportSpecForm
Class ApiDocReimportSpecForm.

Namespace

Drupal\apigee_api_catalog\Entity\Form

Code

public function __construct(EntityRepositoryInterface $entity_repository, EntityTypeBundleInfoInterface $entity_type_bundle_info, TimeInterface $time, MessengerInterface $messenger, SpecFetcherInterface $spec_fetcher) {
  parent::__construct($entity_repository, $entity_type_bundle_info, $time);
  $this->messenger = $messenger;
  $this->specFetcher = $spec_fetcher;
}