You are here

public function ApiDocDeleteForm::__construct in Apigee API Catalog 8

Constructs a ContentEntityForm 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.

\Psr\Log\LoggerInterface $logger: The logger.

Overrides ContentEntityForm::__construct

File

src/Entity/Form/ApiDocDeleteForm.php, line 56

Class

ApiDocDeleteForm
Provides a form for deleting API Doc entities.

Namespace

Drupal\apigee_api_catalog\Entity\Form

Code

public function __construct(EntityRepositoryInterface $entity_repository, EntityTypeBundleInfoInterface $entity_type_bundle_info, TimeInterface $time, LoggerInterface $logger) {
  parent::__construct($entity_repository, $entity_type_bundle_info, $time);
  $this->logger = $logger;
}