Review 13.4 Merged

90961[BUGFIX] Allow Fluid access to SiteLanguage configuration

Stefan Bürk CR +2 V +2 Normal +126 −0 updated 10/09/25, 08:05

Commit message

Accessing the `configuration` property of a `SiteLanguage`
object in Fluid was not straight-forward, because its
member properties are protected, and the `toArray()`
method is not accessible to Fluid to resolve the array
structure.

Similar to `Site`, the `SiteLanguage` object
can now access all configuration via a getter.

This allows to also access any configured custom
fields there with notation like:

```
Language: {siteLanguage.configuration.navigationTitle}
Customfield: {siteLanguage.configuration.customField}
```

(The `{siteLanguage}` variable would for example be
fetched with the SiteLanguageProcessor Dataprocessor,
or could also be retrieved from the SiteProcessor
in its sub-structure.)

Review

  • Code review CR +2 Done
    • Stefan Bürk +2
  • Verified V +2 Done
    • Stefan Bürk +2
    • core-ci +1 CI

Issues 1

Files 7

Review log 34

  1. Stefan Bürk commented on patch set 1 10/09/25, 07:50

    Cherry Picked from branch main.
  2. core-ci voted on patch set 1 V +1 10/09/25, 08:00 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/86279

  3. Stefan Bürk voted on patch set 1 CR +2 V +2 10/09/25, 08:05

  4. Stefan Bürk merged patch set 2 10/09/25, 08:05