- Copyright
- GPL-2.0-or-later
◆ __construct()
Wikibase\Repo\Hooks\Formatters\EntityLinkFormatterFactory::__construct |
( |
EntityTitleTextLookup |
$entityTitleTextLookup, |
|
|
LanguageFactory |
$languageFactory, |
|
|
array |
$callbacks |
|
) |
| |
- Parameters
-
EntityTitleTextLookup | $entityTitleTextLookup | |
callable[] | $callbacks | maps entity type strings to callbacks returning LinkFormatter |
◆ createAndCacheLinkFormatter()
Wikibase\Repo\Hooks\Formatters\EntityLinkFormatterFactory::createAndCacheLinkFormatter |
( |
string |
$type, |
|
|
Language |
$language |
|
) |
| |
|
private |
◆ getDefaultLinkFormatter()
Wikibase\Repo\Hooks\Formatters\EntityLinkFormatterFactory::getDefaultLinkFormatter |
( |
Language |
$language | ) |
|
◆ getLinkFormatter()
Wikibase\Repo\Hooks\Formatters\EntityLinkFormatterFactory::getLinkFormatter |
( |
string |
$entityType, |
|
|
Language |
$language |
|
) |
| |
◆ getOrCreateLinkFormatter()
Wikibase\Repo\Hooks\Formatters\EntityLinkFormatterFactory::getOrCreateLinkFormatter |
( |
string |
$type, |
|
|
Language |
$language |
|
) |
| |
|
private |
◆ $cachedLinkFormatters
Wikibase\Repo\Hooks\Formatters\EntityLinkFormatterFactory::$cachedLinkFormatters = [] |
|
private |
◆ $callbacks
Wikibase\Repo\Hooks\Formatters\EntityLinkFormatterFactory::$callbacks |
|
private |
The documentation for this class was generated from the following file: