protected function DummyTooltip::renderLink in Glossify 8
Render link for found match.
Overrides GlossifyBase::renderLink
File
- tests/
src/ Unit/ GlossifyBaseTest.php, line 112
Class
- DummyTooltip
- Dummy tooltip object.
Namespace
Drupal\Tests\glossify\UnitCode
protected function renderLink($word_link) {
return '<a href="' . $word_link['#tipurl'] . '" title="' . $word_link['#tip'] . '">' . $word_link['#word'] . '</a>';
}