Page History
...
- N2B would instanciate these
- it should be made aware of its "parent" (FieldDefinition etc)
- via injection, the impl would know what locale to use and delegate to MessagesManager (or its replacement)
- we'd have a default null-pattern type of implementation (which returns the key or an empty string, or sthg else - this could even be swapped depending on dev mode etc).
- Would this impact performance/memory usage ?
- Quick prototype of this attached - doesn't do anything, and doesn't know about Locales or message bundles - just showing the "structural" change on classes like FieldDefinition (patch file - disregard class names and packages !)
...
Overview
Content Tools