Deprecation: #109192 - FormEngine OuterWrapContainer 

See forge#109192

Description 

The OuterWrapContainer FormEngine container has been deprecated in favor of the new FormWrapContainer. The old container rendered record headers, type icons and record identity information inside FormEngine, which forced controllers to hide unwanted elements via CSS hacks.

The new FormWrapContainer only handles the 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 outerWrapContainer render type will trigger a PHP E_USER_DEPRECATED level error. The container still works as before during the deprecation period.

Affected installations 

Installations with custom controllers or FormEngine integrations that set $formData['renderType'] = 'outerWrapContainer'.

Migration 

Replace the render type outerWrapContainer with formWrapContainer.

Before:

$formData['renderType'] = 'outerWrapContainer';
$formResult = $this->nodeFactory->create($formData)->render();
Copied!

After:

$formData['renderType'] = 'formWrapContainer';
$formResult = $this->nodeFactory->create($formData)->render();
Copied!

Note that FormWrapContainer 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 OuterWrapContainer, you need to render them in your controller code.