I need to add a custom option to all types in my project.
The goal is to add a is_translated option that would be false by default, and I could pass true to any field that can be translated, in order to get it in the template and add a flag next to the label.
Translated fields could be TextType, TextareaType, or any of the many custom Types that I have already created. That's why I'd like to add this option to all Types.
To add it to only one Type, I would do :
$resolver->setDefaults([
'is_translated' => false,
]);
How can I add this option to all the Types ?