You are here

protected function GlossifyBase::renderLink in Glossify 8

Render link for found match.

1 call to GlossifyBase::renderLink()
GlossifyBase::parseTooltipMatch in src/GlossifyBase.php
Convert terms in text to links.
1 method overrides GlossifyBase::renderLink()
DummyTooltip::renderLink in tests/src/Unit/GlossifyBaseTest.php
Render link for found match.

File

src/GlossifyBase.php, line 167

Class

GlossifyBase
Base implementation of tooltip filter type plugin.

Namespace

Drupal\glossify

Code

protected function renderLink($word_link) {
  return trim(render($word_link));
}