You are here

public function VarnishImagePurgeConfiguration::__construct in Varnish purger 8

Same name and namespace in other branches
  1. 8.2 modules/varnish_image_purge/src/Form/VarnishImagePurgeConfiguration.php \Drupal\varnish_image_purge\Form\VarnishImagePurgeConfiguration::__construct()

VarnishImagePurgeConfiguration constructor.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory.

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

\Drupal\Core\Entity\EntityTypeBundleInfo $entityTypeBundleInfo: The entity type bundle info.

Overrides ConfigFormBase::__construct

File

modules/varnish_image_purge/src/Form/VarnishImagePurgeConfiguration.php, line 42

Class

VarnishImagePurgeConfiguration
Configure site information settings for this site.

Namespace

Drupal\varnish_image_purge\Form

Code

public function __construct(ConfigFactoryInterface $config_factory, EntityTypeManagerInterface $entityTypeManager, EntityTypeBundleInfo $entityTypeBundleInfo) {
  parent::__construct($config_factory);
  $this->entityTypeManager = $entityTypeManager;
  $this->entityTypeBundleInfo = $entityTypeBundleInfo;
}