You are here

public function ReferencePreviewForm::__construct in Bibliography & Citation 8

Same name and namespace in other branches
  1. 2.0.x modules/bibcite_entity/src/Form/ReferencePreviewForm.php \Drupal\bibcite_entity\Form\ReferencePreviewForm::__construct()

Constructs a new ReferencePreviewForm.

Parameters

\Drupal\Core\Entity\EntityDisplayRepositoryInterface $entity_display_repository: The entity manager service.

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

File

modules/bibcite_entity/src/Form/ReferencePreviewForm.php, line 50

Class

ReferencePreviewForm
Reference Preview Form.

Namespace

Drupal\bibcite_entity\Form

Code

public function __construct(EntityDisplayRepositoryInterface $entity_display_repository, ConfigFactoryInterface $config_factory) {
  $this->entityDisplayRepository = $entity_display_repository;
  $this->configFactory = $config_factory;
}