Add translation option to MDResearchStatusSet
This commit is contained in:
parent
35b713f1c9
commit
fecf25d72c
2
l18n
2
l18n
|
@ -1 +1 @@
|
|||
Subproject commit 04ac0c5474c30f3ed76eea24260e67d993ae6e4e
|
||||
Subproject commit d4d4a3601d482a0262ca766f5fe7c0c670e07dd8
|
|
@ -20,4 +20,15 @@ final class MDResearchStatusSet extends MDValueSet {
|
|||
'good',
|
||||
];
|
||||
|
||||
/**
|
||||
* Returns a translated list of research status.
|
||||
*
|
||||
* @param MDTlLoader $tlLoader Translation loader.
|
||||
*
|
||||
* @return array<string>
|
||||
*/
|
||||
public static function getResearchStatusTLed(MDTlLoader $tlLoader):array {
|
||||
return parent::getTlUnsortedList($tlLoader, self::RESEARCH_STATUS, "research_status", "research_status");
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user