This project is not covered by Drupal’s security advisory policy.

A helper module that provides a class for simplifying accessing field values on entities in Drupal 8/9/10.

Currently accessing values from a field requires writing a plethora of sanity checks every single time. You need to check if the entity even has the field, and then get the field, and check that it even has a first value, and then from there handle that first value. It's a lot of wasted and repetitive code, and you can use this value fetcher to DRY (don't repeat yourself) up your code.

Supporting organizations: 

Project information

Releases