protected function GlossifyBase::currentPath in Glossify 8
Get current path.
1 call to GlossifyBase::currentPath()
- GlossifyBase::parseTooltipMatch in src/
GlossifyBase.php - Convert terms in text to links.
1 method overrides GlossifyBase::currentPath()
- DummyTooltip::currentPath in tests/
src/ Unit/ GlossifyBaseTest.php - Get current path.
File
- src/
GlossifyBase.php, line 174
Class
- GlossifyBase
- Base implementation of tooltip filter type plugin.
Namespace
Drupal\glossifyCode
protected function currentPath() {
return \Drupal::service('path.current')
->getPath();
}