public function ReferencePreviewForm::__construct in Bibliography & Citation 8
Same name and namespace in other branches
- 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\FormCode
public function __construct(EntityDisplayRepositoryInterface $entity_display_repository, ConfigFactoryInterface $config_factory) {
$this->entityDisplayRepository = $entity_display_repository;
$this->configFactory = $config_factory;
}