Some widgets display no chrome when there is no data. However, in edit mode, the chrome should be displayed anyway or the widget can't be configured, removed, or moved on the page.
This change allows widgets to be informed of the display mode and display the panel chrome accordingly.
Some widgets display no chrome when there is no data. However, in edit mode, the chrome should be displayed anyway or the widget can't be configured, removed, or moved on the page.
This change allows widgets to be informed of the display mode and display the panel chrome accordingly.