From a3276dcb1826b54b2d6401ce723bad276dc88860 Mon Sep 17 00:00:00 2001 From: Jamie McClelland Date: Fri, 25 Feb 2022 14:04:06 -0500 Subject: [PATCH] Enable APIv4 export action on UFGroup and UFField. 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. --- Civi/Api4/UFField.php | 2 +- Civi/Api4/UFGroup.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Civi/Api4/UFField.php b/Civi/Api4/UFField.php index 01479ada1eb2..1fdd6dc63ebb 100644 --- a/Civi/Api4/UFField.php +++ b/Civi/Api4/UFField.php @@ -22,5 +22,5 @@ */ class UFField extends Generic\DAOEntity { use Generic\Traits\SortableEntity; - + use Generic\Traits\ManagedEntity; } diff --git a/Civi/Api4/UFGroup.php b/Civi/Api4/UFGroup.php index 0500e015e7ea..8c3ae38282de 100644 --- a/Civi/Api4/UFGroup.php +++ b/Civi/Api4/UFGroup.php @@ -19,5 +19,5 @@ * @package Civi\Api4 */ class UFGroup extends Generic\DAOEntity { - + use Generic\Traits\ManagedEntity; }