apigee-edge-drupal
apigee-edge-drupal copied to clipboard
EntityQuery: Add support for filtering by attribute value
Closes #949
TODOs
- [ ] Extend test coverage in https://github.com/apigee/apigee-edge-drupal/blob/3.x/tests/src/Unit/ConditionTest.php (#helpWanted)
Original version of this PR works great for filtering on attribute names that does NOT contain any underscores. If an attribute contains underscores (eg. foo_bar), then the original version was looking for a "normalized" attribute name (eg. fooBar).
The updated version allows underscores in attribute names, by NOT normalizing the attribute name if the Condition's $property starts with AttributeValue..