Project

General

Profile

Actions

Task #90252

closed

Improve documentation example for afterInitializeCurrentPage hook

Added by Markus Ehrlich almost 5 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Form Framework
Target version:
-
Start date:
2020-01-29
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
10
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

The example for the afterInitializeCurrentPage hook suggests that the $currentPage variable must always be set.
But in the FormRuntime you can see that it can also be null after the last page has been sent.

FormRuntime $currentPage = null

Actions

Also available in: Atom PDF