|
@@ -159,11 +159,11 @@ |
|
|
block discarded – undo |
|
159
|
159
|
} |
|
160
|
160
|
|
|
161
|
161
|
/** |
|
162
|
|
- * Renders the list of supported languages from vocabulary config in order. |
|
163
|
|
- * The ordering is done according to the language order parameter in vocabulary config if such exists |
|
164
|
|
- * @param Vocabulary $vocab the vocabulary object |
|
165
|
|
- * @return array with language codes as keys and language labels as values |
|
166
|
|
- */ |
|
|
162
|
+ * Renders the list of supported languages from vocabulary config in order. |
|
|
163
|
+ * The ordering is done according to the language order parameter in vocabulary config if such exists |
|
|
164
|
+ * @param Vocabulary $vocab the vocabulary object |
|
|
165
|
+ * @return array with language codes as keys and language labels as values |
|
|
166
|
+ */ |
|
167
|
167
|
public function parseVocabularyLanguageOrder($vocab) |
|
168
|
168
|
{ |
|
169
|
169
|
$vocabContentLanguages = array_flip($vocab->getConfig()->getLanguages()); |
Please login to merge, or discard this patch.