Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 294514

Add #optional support to the Container render element

$
0
0

Problem/Motivation

Currently if you define a container element that is empty, you get empty markup. This may or may not be desirable, but currently you cannot define this behavior.

This was pointed out on #2892304: Introduce footer region to ContentEntityForm

Proposed resolution

Implement #optional property for the Container render element, in the same manner as Details.

Remaining tasks

Do it

User interface changes

None

API changes

New method added: Container:preRenderContainer.

Data model changes

None


Viewing all articles
Browse latest Browse all 294514

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>