Problem/Motivation
It may happen that the provided variable is explicitly NULL:
Drupal\twig_real_content\Exceptions\TwigRealContentException: "Twig Has Content Filter" expects rendered strings as value, NULL given. Did you forget to |render / capture the twig variable before? in Drupal\twig_real_content\TwigRealContentTwigExtension->ensureRendered() (line 97 of modules/contrib/twig_real_content/src/TwigRealContentTwigExtension.php).
We should treat this as empty and not throw an Exception.
Steps to reproduce
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Issue fork twig_real_content-3307066
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
anybodyComment #5
anybody