Translate extension for MediaWiki
 
Loading...
Searching...
No Matches
MessageDefinitionAid.php
1<?php
2declare( strict_types = 1 );
3
4namespace MediaWiki\Extension\Translate\TranslatorInterface\Aid;
5
15 public function getData(): array {
16 $language = $this->group->getSourceLanguage();
17
18 return [
19 'value' => $this->dataProvider->getDefinition(),
20 'language' => $language,
21 ];
22 }
23}
getData()
Translation aid class should implement this function.