- Issue created by @justsomeguy.com
- 🇮🇱Israel jsacksick
hm... I don't see other entity types doing that... Also, not really sure what's the point in returning an empty string? Shouldn't we return the label() at least?
When you visit the devel token page for a store, commerce_store\Entity\StoreType causes an exception because it is missing the __toString() method:
Exception: Object of type Drupal\commerce_store\Entity\StoreType cannot be printed. in Drupal\Core\Template\TwigExtension->escapeFilter() (line 454 of /var/www/web/core/lib/Drupal/Core/Template/TwigExtension.php).
Active
2.0
Store
hm... I don't see other entity types doing that... Also, not really sure what's the point in returning an empty string? Shouldn't we return the label() at least?