23 if ( $this->mParent instanceof
HTMLForm ) {
24 $config = $this->mParent->getConfig();
32 ->getLanguageNameUtils()
37 if ( !array_key_exists( $languageCode, $languages ) ) {
38 $languages[$languageCode] = $languageCode;
43 foreach ( $languages as $code => $name ) {
44 $this->mParams[
'options'][$code .
' - ' . $name] = $code;
47 $this->mParams[
'default'] ??= $languageCode;