Skip to content

Commit

Permalink
Merge pull request #21634 from colemanw/api4ExplorerFix
Browse files Browse the repository at this point in the history
Fix dev/core#2867 - APIv4 Entity.get to return class name by default
  • Loading branch information
eileenmcnaughton authored Sep 27, 2021
2 parents a59730a + a75e3a9 commit e057652
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Civi/Api4/Entity.php
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,11 @@ public static function getFields($checkPermissions = TRUE) {
'data_type' => 'String',
'description' => 'Version this API entity was added',
],
[
'name' => 'class',
'data_type' => 'String',
'description' => 'PHP class name',
],
[
'name' => 'bridge',
'data_type' => 'Array',
Expand Down

0 comments on commit e057652

Please sign in to comment.