> I don't think that you should be able to set a class here. The styling should be done by the
> renderer. What would make sense is to have an (extensible?) set of message types.
So, more like a $this->flashMessages->add('All went great!', MSG_OK) approach?
--
Officially Certified TYPO3 Integrator