Empty Coalesce adds the
??? operator to Twig that will return the first thing that is defined, not null, and not empty. This is particularly useful when you're dealing with a number of fallback/default values that may or may not exist, and may or may not be empty.
??? Empty Coalescing operator is similar to the
?? null coalescing operator, but also ignores empty strings (
"") and empty arrays (
) as well.
To install this plugin, search for its package name on the Plugin Store and click “Install”.