Add translation option to MDResearchStatusSet
This commit is contained in:
@ -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");
|
||||
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user