Skip to content

Commit

Permalink
[DOC] Usage uid/parameter recommendations for v:page.resources.fal (F…
Browse files Browse the repository at this point in the history
  • Loading branch information
cweiske authored Sep 2, 2021
1 parent dbfccc8 commit dd0f0cb
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Classes/ViewHelpers/Page/Resources/FalViewHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@

/**
* Page FAL resource ViewHelper.
*
* Do not use the "uid" argument in the "Preview" section.
* Instead, use the "record" argument and pass the entire record.
* This bypasses visibility restrictions that normally apply when you attempt
* to load a record by UID through TYPO3's PageRepository, which is what the
* resource ViewHelpers do if you only pass uid.
*/
class FalViewHelper extends ResourcesFalViewHelper
{
Expand Down

0 comments on commit dd0f0cb

Please sign in to comment.