Merge pull request #19093 from civicrm/5.32
[civicrm-core.git] / CRM / Core / DAO / PreferencesDate.php
index b1d08e7cd045d04aacab815891eba79b58b35701..cafec81099b62d9046a0ad62836095187734c8a4 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/PreferencesDate.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:21383b05b8c8e98ed1721aab06031907)
+ * (GenCodeChecksum:a0d91310a76fe98662806ef3104d8f30)
  */
 
 /**
@@ -87,9 +87,12 @@ class CRM_Core_DAO_PreferencesDate 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('Preferences Dates');
+  public static function getEntityTitle($plural = FALSE) {
+    return $plural ? ts('Preferences Dates') : ts('Preferences Date');
   }
 
   /**