Show correct CMS name for profile uf group types
[civicrm-core.git] / CRM / Utils / System / Backdrop.php
index 3fb3b6cc776b39c618b8fbe14db05a705a00817e..692669e82f75b3c522c7705ec2139bacb5f489a3 100644 (file)
@@ -1068,4 +1068,15 @@ AND    u.status = 1
     return str_replace(parent::getCRMDatabasePrefix(), '`', '');
   }
 
+  /**
+   * Return the CMS-specific UF Group Types for profiles.
+   * @return array
+   */
+  public function getUfGroupTypes() {
+    return [
+      'User Registration' => ts('Backdrop User Registration'),
+      'User Account' => ts('View/Edit Backdrop User Account'),
+    ];
+  }
+
 }