Deprecation: #109192 - FormEngine OuterWrapContainer
See forge#109192
Description
The
\TYPO3\ FormEngine
container has been deprecated in favor
of the new
\TYPO3\.
The old container rendered record
headers, type icons, and record identity information inside FormEngine, which
forced controllers to hide redundant elements via CSS hacks.
The new
Form
only handles form wrapping (description,
read-only notice, field information, field wizards, and child HTML).
Rendering record headers and identity information is now the responsibility of
the controllers themselves.
Impact
Using the outer render type will trigger a PHP
E_ level error. The container will still work as before
during the deprecation period.
Affected installations
Installations with custom controllers or FormEngine integrations that set
$form.
Migration
Replace the render type outer with
form.
Before:
$formData['renderType'] = 'outerWrapContainer';
$formResult = $this->nodeFactory->create($formData)->render();
After:
$formData['renderType'] = 'formWrapContainer';
$formResult = $this->nodeFactory->create($formData)->render();
Note that
Form
no longer renders the record heading
(
<h1>) or the record identity footer (icon, table title, uid). If
your controller relied on these being rendered by
Outer, you need to
render them in your controller code.