src/FilterSetting/Checkbox.php
private function getAvailableLanguages(IMetaModel $objMetaModel)
    {
        return ($objMetaModel->isTranslated() && $this->get('all_langs'))
            ? $objMetaModel->getAvailableLanguages()
            : array($objMetaModel->getActiveLanguage());
    }
private function getAvailableLanguages(IMetaModel $objMetaModel)
    {
        return ($objMetaModel->isTranslated() && $this->get('all_langs'))
            ? $objMetaModel->getAvailableLanguages()
            : array($objMetaModel->getActiveLanguage());
    }
private function getAvailableLanguages ( IMetaModel $ objMetaModel ) { return ( $ objMetaModel -> isTranslated ( ) && $ this -> get ( 'all_langs' ) ) ? $ objMetaModel -> getAvailableLanguages ( ) : array ( $ objMetaModel -> getActiveLanguage ( ) ) ; }
Get available langauges.

@param IMetaModel $objMetaModel The metamodel.

@return array|null|\string[]
Get available langauges .