$site->defaultLanguage()

Returns the $language object for the default language

  • return ($language)

Example

<?php echo $site->defaultLanguage()->name() ?>