Fix dev/core#2867 - APIv4 Entity.get to return class name by default
authorColeman Watts <coleman@civicrm.org>
Sun, 26 Sep 2021 23:04:49 +0000 (19:04 -0400)
committerColeman Watts <coleman@civicrm.org>
Sun, 26 Sep 2021 23:06:07 +0000 (19:06 -0400)
commita75e3a979266c2bd08dca010afaba46cf19eb4b4
tree16b8bb0f9dbcd22880fffa5c266d5b2caf3a1475
parent7fd254381132487e96ea4ab01cf294a51389d987
Fix dev/core#2867 - APIv4 Entity.get to return class name by default

Ad-hoc entities (which includes the Entity entity) now default to not
return any fields not declared in GetFields.
Civi/Api4/Entity.php