Skip to content
Snippets Groups Projects
Commit 942fad9c authored by Nikita Hovratov's avatar Nikita Hovratov
Browse files

[DOCS] Fix PHP syntax in PageContentPreviewRenderingEvent example

The $event parameter is now added and a superfluous parenthesis is
removed in the condition. Also, the $tableName variable is used now.

Resolves: #103645
Related: #98375
Releases: main, 12.4
Change-Id: I8f827ac7f6941ab03a6f5c67e9fb3525d1a79868
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/83843


Tested-by: default avatarcore-ci <typo3@b13.com>
Reviewed-by: default avatarOliver Bartsch <bo@cedev.de>
Tested-by: default avatarAndreas Kienast <a.fernandez@scripting-base.de>
Tested-by: default avatarOliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: default avatarAndreas Kienast <a.fernandez@scripting-base.de>
Reviewed-by: default avatarOliver Klee <typo3-coding@oliverklee.de>
Tested-by: default avatarOliver Bartsch <bo@cedev.de>
parent 2a4b6f1c
No related merge requests found
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