Merge pull request #18666 from civicrm/5.30
[civicrm-core.git] / CRM / Dedupe / DAO / Rule.php
index dea3d38759d4c96ce5822ba452671fd266ea3c22..a09f6a7f4be5084f893f18ceb6b7f4f4cc93a04a 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Dedupe/Rule.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:56abeb7ada5e3dfde910bc5033ca047d)
+ * (GenCodeChecksum:1c0c64573702774a043ea32c73f05bd8)
  */
 
 /**
@@ -82,9 +82,12 @@ class CRM_Dedupe_DAO_Rule 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('Rules');
+  public static function getEntityTitle($plural = FALSE) {
+    return $plural ? ts('Rules') : ts('Rule');
   }
 
   /**