Skip to content
Snippets Groups Projects
Commit a537d2d8 authored by Benni Mack's avatar Benni Mack
Browse files

[FEATURE] Introduce Site Settings Read API

When using site configuration with
settings, they previously were accessible
via $site->getConfiguration()['settings'].

A site now also contains the settings
in a better way to read them via $site->getSettings()
where a SiteSettings object is resolved,
which contains all defined settings.

Settings can be defined in a settings.yaml
within the site configuration folder, which
are then read and populated along with
the site configuration.

The new SiteSettings Read API allows to access
the settings via a flat array or a full array.

Resolves: #99048
Releases: main
Change-Id: I07f1244d0ed45fe09d0f39dfdd52e8523a05b730
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/76520


Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarSusanne Moog <look@susi.dev>
Tested-by: default avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: default avatarBenni Mack <benni@typo3.org>
Reviewed-by: default avatarSusanne Moog <look@susi.dev>
Reviewed-by: default avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
parent 049cbda1
Showing
with 186 additions and 46 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment