Add translations for color set; options for getting unsorted color,

gender lists
This commit is contained in:
2022-12-14 16:11:49 +01:00
parent a19f18a193
commit be67089b74
4 changed files with 69 additions and 2 deletions

View File

@ -20,6 +20,18 @@ final class MDObjectFormSet extends MDValueSet {
'cylinder',
];
/**
* Gets an unsorted list of the entries in a translated version.
*
* @param MDTlLoader $tlLoader Translation loader.
*
* @return array<string>
*/
public static function getUnsortedList(MDTlLoader $tlLoader):array {
return parent::getTlUnsortedList($tlLoader, self::FORMS, "object_form_set", "object_form_set");
}
/**
* Gets a sorted list of the entries in a translated version.
*