Can we set setFormatter( 'Format::nullEmpty' ) as default formatter for all fields?
Can we set setFormatter( 'Format::nullEmpty' ) as default formatter for all fields?
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Exactly as you have done. I'm afraid I don't really under stand the question. You have used the
nullEmpty
formatter for am individual field in the above code.Allan
Well, my question was really unclear ;-) Sorry.
My real question is can we globally set (only one time) setFormatter( 'Format::nullEmpty' ) for fields as default formatter?
Oh I see - sorry. There is no option to set defaults using the Editor PHP libraries at this time - sorry.
Allan