You are here

protected function GlossifyBase::renderTip in Glossify 8

Render tip for found match.

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

File

src/GlossifyBase.php, line 160

Class

GlossifyBase
Base implementation of tooltip filter type plugin.

Namespace

Drupal\glossify

Code

protected function renderTip($word_tip) {
  return trim(render($word_tip));
}