Message of the day:
Security release 4.4.4 is out. Changelog: https://github.com/silverstripe/silverstripe-framework/blob/4/docs/en/04_Changelogs/4.4.4.md
SilverStripe 4 related information and questions.
Those results are as I would expect, gets my vote
@unclecheese and everyone else: regarding the ambiguity - we could just define what the result will be and clearly document it. I'd probably go with filter ID =>  returns and empty list and filter ID:not =>  does nothing.
@kinglozzer That's correct and
class="message warning" for a warning/yellow box
- <div class=”message bad”>Hello</div>
If that doesn't work I might just go with a literal field with bootstrap classes for an alert/warning
I tried it from
FieldList::getForm() but that doesn't exist, I'll try from a given field in a bit
Not sure, the form might not be set at that point
$field->getForm()->sessionMessage() maybe leomeloxp ?
Any suggestions on how I could set a
getCMSFIelds of a DataObject? Basically I wanna do a few checks when getCMSFields is called and display a warning/error styled message to the user