*
* Generated from xml/schema/CRM/Mailing/Mailing.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:6a9dc5aaff7aa7f5dcfe3f892255e357)
+ * (GenCodeChecksum:f1ac9d0a02ed59171d4efdc4209a376c)
*/
/**
*/
public static $_log = FALSE;
+ /**
+ * Paths for accessing this entity in the UI.
+ *
+ * @var string[]
+ */
+ protected static $_paths = [
+ 'add' => 'civicrm/a/#/mailing/new',
+ 'update' => 'civicrm/a/#/mailing/[id]',
+ ];
+
/**
* @var int
*/
/**
* Returns localized title of this entity.
+ *
+ * @param bool $plural
+ * Whether to return the plural version of the title.
*/
- public static function getEntityTitle() {
- return ts('Mailings');
+ public static function getEntityTitle($plural = FALSE) {
+ return $plural ? ts('Mailings') : ts('Mailing');
}
/**