You are here

public function LinkitEditorDialog::__construct in Linkit 8.4

Constructs a form object for linkit dialog.

Parameters

\Drupal\Core\Entity\EntityStorageInterface $editor_storage: The editor storage service.

\Drupal\Core\Entity\EntityStorageInterface $linkit_profile_storage: The linkit profile storage service.

File

src/Form/LinkitEditorDialog.php, line 55
Contains \Drupal\linkit\Form\LinkitEditorDialog.

Class

LinkitEditorDialog
Provides a linkit dialog for text editors.

Namespace

Drupal\linkit\Form

Code

public function __construct(EntityStorageInterface $editor_storage, EntityStorageInterface $linkit_profile_storage) {
  $this->editorStorage = $editor_storage;
  $this->linkitProfileStorage = $linkit_profile_storage;
}