Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Some metadata related methods try to retrieve metadata from the data values. For that they call value() what might lead to exceptions. However retrieving metadata should be safe, i.e. not throw an exception. Attached patch fixes the wrapper to catch the exceptions thrown by value() and improves the docs for value() in regard to exceptions.
Comment | File | Size | Author |
---|---|---|---|
entity_wrapper_exceptions.patch | 3.18 KB | fago | |
Comments
Comment #1
fagoand committed.