Merge pull request #18891 from civicrm/5.31
[civicrm-core.git] / CRM / Contact / DAO / DashboardContact.php
index 16c0b3b593796c93f952a45700125efe91740eaa..f8f4e87daa3c7c5f3a2888acf4f42f2ab4289337 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contact/DashboardContact.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:67153c09e74eda2febf15986f9c04439)
+ * (GenCodeChecksum:ef3a393d20b6654dcef952f21df8072d)
  */
 
 /**
@@ -80,9 +80,12 @@ class CRM_Contact_DAO_DashboardContact 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('Dashboard Contacts');
+  public static function getEntityTitle($plural = FALSE) {
+    return $plural ? ts('Dashboard Contacts') : ts('Dashboard Contact');
   }
 
   /**