[FEATURE] Add context check for TypoScript
The new Context API is added so TypoScript can check this in cObject like this: 10 = TEXT 10.data = context:workspace:id where as the key is context:[aspectName]:[propertyName] Arrays are automatically converted to comma-separated lists, which is useful for reading info on user groups. Resolves: #85550 Releases: master Change-Id: I86673055e088ec4e65288df6145399f8e45055c8 Reviewed-on: https://review.typo3.org/57588 Tested-by:TYPO3com <no-reply@typo3.com> Reviewed-by:
Anja Leichsenring <aleichsenring@ab-softlab.de> Tested-by:
Anja Leichsenring <aleichsenring@ab-softlab.de> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch>
Showing
- typo3/sysext/core/Documentation/Changelog/master/Feature-85550-IntroduceContextForTypoScriptDataGetTextProperty.rst 31 additions, 0 deletions...5550-IntroduceContextForTypoScriptDataGetTextProperty.rst
- typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php 10 additions, 0 deletions.../frontend/Classes/ContentObject/ContentObjectRenderer.php
- typo3/sysext/frontend/Tests/Unit/ContentObject/ContentObjectRendererTest.php 19 additions, 0 deletions...nd/Tests/Unit/ContentObject/ContentObjectRendererTest.php
Loading
Please register or sign in to comment