You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Sanitiser gets instantiated within the getTwigValue() method of the Field entity, meaning that the $config cannot be autowired to an entity. Also, the $config cannot be passed from the Content class, because by the time getTwigValue() is called in Twig ({{ field.twigValue() }}), the Content is no longer accessible.
The problem is how to pass the config to the getTwigValue() method, which will instantiate the Sanitiser with it.
No description provided.
The text was updated successfully, but these errors were encountered: