Skip to content

Commit

Permalink
Enable APIv4 export action on UFGroup and UFField.
Browse files Browse the repository at this point in the history
With these little changes the export action is available. It still needs
a tweak because UFField exports `field_name` which hard codes a custom
field's id instead of `field_name:name` - but I think it's a good first
step.
  • Loading branch information
jmcclelland committed Feb 25, 2022
1 parent 3a0cc2f commit 4249e44
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Civi/Api4/UFField.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@
*/
class UFField extends Generic\DAOEntity {
use Generic\Traits\SortableEntity;

use Generic\Traits\ManagedEntity;
}
2 changes: 1 addition & 1 deletion Civi/Api4/UFGroup.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@
* @package Civi\Api4
*/
class UFGroup extends Generic\DAOEntity {

use Generic\Traits\ManagedEntity;
}

0 comments on commit 4249e44

Please sign in to comment.