You are here

public function CKEditorEntityLinkDialog::__construct in CKEditor Entity Link 8

CKEditorEntityLinkDialog constructor.

Parameters

\Drupal\Core\Entity\EntityRepositoryInterface $entity_repository: Entity repository.

File

src/Form/CKEditorEntityLinkDialog.php, line 51

Class

CKEditorEntityLinkDialog
Provides a link dialog for text editors.

Namespace

Drupal\ckeditor_entity_link\Form

Code

public function __construct(EntityTypeManagerInterface $entity_type_manager, EntityRepositoryInterface $entity_repository) {
  $this->entityTypeManager = $entity_type_manager;
  $this->entityRepository = $entity_repository;
}