$site->defaultLanguage()

Returns the $language object for the default language

  • return ($language)

Example

<?= $site->defaultLanguage()->name() ?>

Is something missing or incorrect? Edit this page on Github…