Add translation option to MDResearchStatusSet

This commit is contained in:
2021-10-09 15:05:45 +02:00
parent 35b713f1c9
commit fecf25d72c
2 changed files with 12 additions and 1 deletions

View File

@ -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");
}
}