Merge pull request #19464 from eileenmcnaughton/menu
[civicrm-core.git] / CRM / Mailing / DAO / MailingAB.php
index 0e2215e1fc5f7a80a0f2c98d130825cecc72892c..9b4572a42fee70e4eeaeb9bbb4f1ac14b55ca509 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Mailing/MailingAB.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:af0f7d34ddde7f3971aaac5abccfcd8c)
+ * (GenCodeChecksum:1308702399d924188a14948adb1a8a3f)
  */
 
 /**
@@ -15,6 +15,7 @@
 class CRM_Mailing_DAO_MailingAB extends CRM_Core_DAO {
   const EXT = 'civicrm';
   const TABLE_ADDED = '';
+  const COMPONENT = 'CiviMail';
 
   /**
    * Static instance to hold the table name.
@@ -130,9 +131,12 @@ class CRM_Mailing_DAO_MailingAB 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('Mailing ABs');
+  public static function getEntityTitle($plural = FALSE) {
+    return $plural ? ts('Mailing ABs') : ts('Mailing AB');
   }
 
   /**