Merge in 5.32
[civicrm-core.git] / CRM / Contact / DAO / GroupContact.php
index 52c66fd638c930609b4d353de13d309c20b7612d..7838dde527e92e54ab8db6db939a9b90746bed1b 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contact/GroupContact.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:143ba4d95cae73fc81c8e932970cbc1f)
+ * (GenCodeChecksum:ea7c012e774a203b869e0fadec080cab)
  */
 
 /**
@@ -82,9 +82,12 @@ class CRM_Contact_DAO_GroupContact extends CRM_Core_DAO {
 
   /**
    * Returns localized title of this entity.
+   *
+   * @param bool $plural
+   *   Whether to return the plural version of the title.
    */
-  public static function getEntityTitle() {
-    return ts('Group Contacts');
+  public static function getEntityTitle($plural = FALSE) {
+    return $plural ? ts('Group Contacts') : ts('Group Contact');
   }
 
   /**