[REF] Fix import signature on activity parser, add preliminary test
[civicrm-core.git] / CRM / Activity / DAO / ActivityContact.php
index 61676f395b5f4f890305e51fdb8304fe70d48f02..7f1bfd317fba6da885a299f006d4664338d852d1 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Activity/ActivityContact.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:777598f3625dfeaf37a81de282808c60)
+ * (GenCodeChecksum:3f147b2507b1e11a7df971be191161d1)
  */
 
 /**
@@ -68,9 +68,12 @@ class CRM_Activity_DAO_ActivityContact 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('Activity Contacts');
+  public static function getEntityTitle($plural = FALSE) {
+    return $plural ? ts('Activity Contacts') : ts('Activity Contact');
   }
 
   /**