You are here

protected function DummyTooltip::renderTip in Glossify 8

Render tip for found match.

Overrides GlossifyBase::renderTip

File

tests/src/Unit/GlossifyBaseTest.php, line 105

Class

DummyTooltip
Dummy tooltip object.

Namespace

Drupal\Tests\glossify\Unit

Code

protected function renderTip($word_tip) {
  return '<span title="' . $word_tip['#tip'] . '">' . $word_tip['#word'] . '</span>';
}