You are here

public function BundlesSettingsForm::__construct in Media PDF Thumbnail 8.3

Same name and namespace in other branches
  1. 8.4 src/Form/BundlesSettingsForm.php \Drupal\media_pdf_thumbnail\Form\BundlesSettingsForm::__construct()

BundlesSettingsForm constructor.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config_factory:

\Drupal\Core\Entity\EntityTypeBundleInfo $entityTypeBundleInfo:

\Drupal\Core\Entity\EntityFieldManager $entityFieldManager:

Overrides ConfigFormBase::__construct

File

src/Form/BundlesSettingsForm.php, line 41

Class

BundlesSettingsForm
Configure example settings for this site.

Namespace

Drupal\media_pdf_thumbnail\Form

Code

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