#107524Extending SiteLanguage - Configuration access via Fluid
Description
I’ve extended the site language config with a custom field and wanted to access this field via Fluid.
{language.configuration.customfield}
This leads to following error.
Cannot access protected property TYPO3\CMS\Core\Site\Entity\SiteLanguage::$configuration
The problem seems to be the missing getConfiguration method in typo3\cms-core\Classes\Site\Entity\SiteLanguage.php which is e.g. existend in typo3\cms-core\Classes\Site\Entity\Site.php
/**
* Returns the whole configuration for this site
*/
public function getConfiguration(): array
{
return $this->configuration;
}