Gets the list of languages set up on the site.
Source code viewer$site_languages = \Drupal::languageManager()->getLanguages();Programming Language: PHP