preparing to add the custom buttons management directly in the entity class
adding separate form methods for twig templates, fixing a bug for the string entity definition