public function DummyTooltip::__construct in Glossify 8
Constructor.
Parameters
array $terms: List of words with metadata.
bool $case_sensitivity: Case sensitive replace.
bool $first_only: Replace only first match.
string $displaytype: Type of tooltip/link.
string $urlpattern: URL pattern to create links.
Overrides FilterBase::__construct
File
- tests/
src/ Unit/ GlossifyBaseTest.php, line 94
Class
- DummyTooltip
- Dummy tooltip object.
Namespace
Drupal\Tests\glossify\UnitCode
public function __construct(array $terms, $case_sensitivity, $first_only, $displaytype, $urlpattern) {
$this->terms = $terms;
$this->caseSensitivity = $case_sensitivity;
$this->firstOnly = $first_only;
$this->displaytype = $displaytype;
$this->urlpattern = $urlpattern;
}