Merge pull request #18493 from mlutfy/campaignReportDefaults
[civicrm-core.git] / CRM / Contact / DAO / ContactType.php
index 41d8b878036906d1e0e34153eaefbde39dfc34a6..4f7f63f5a3edafac9df7b9b1959fc2b7a4f7a5b2 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contact/ContactType.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:0f7546e10f09f7637d50f7a34c632cb5)
+ * (GenCodeChecksum:9719ec84435a76decf1937f7a389ac7f)
  */
 
 /**
@@ -96,9 +96,12 @@ class CRM_Contact_DAO_ContactType 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('Contact Types');
+  public static function getEntityTitle($plural = FALSE) {
+    return $plural ? ts('Contact Types') : ts('Contact Type');
   }
 
   /**