*/
class CRM_Admin_Form_Mapping extends CRM_Admin_Form {
+ /**
+ * @return string
+ */
+ public function getDefaultEntity(): string {
+ return 'Mapping';
+ }
+
/**
* @var bool
*/
*
* Generated from xml/schema/CRM/Core/Mapping.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:31c8504ccda047a088caeec8bd925d3b)
+ * (GenCodeChecksum:981063692534917d20a9c12fb65bbd8e)
*/
/**
*/
public static $_log = FALSE;
+ /**
+ * Paths for accessing this entity in the UI.
+ *
+ * @var string[]
+ */
+ protected static $_paths = [
+ 'add' => 'civicrm/admin/mapping/edit?reset=1&action=add',
+ 'browse' => 'civicrm/admin/mapping?reset=1',
+ 'update' => 'civicrm/admin/mapping/edit?reset=1&action=update&id=[id]',
+ ];
+
/**
* Mapping ID
*
<adminGroup>System Settings</adminGroup>
<weight>110</weight>
</item>
+ <item>
+ <path>civicrm/admin/mapping/edit</path>
+ <title>Import/Export Mappings</title>
+ <desc>Import and Export mappings allow you to easily run the same job multiple times. This option allows you to rename or delete existing mappings.</desc>
+ <page_callback>CRM_Admin_Form_Mapping</page_callback>
+ <adminGroup>System Settings</adminGroup>
+ <weight>111</weight>
+ </item>
<item>
<path>civicrm/admin/setting/debug</path>
<title>Debugging</title>
<comment>Store field mappings in import or export for reuse</comment>
<labelField>name</labelField>
<title>Field Mapping</title>
+ <paths>
+ <add>civicrm/admin/mapping/edit?reset=1&action=add</add>
+ <browse>civicrm/admin/mapping?reset=1</browse>
+ <update>civicrm/admin/mapping/edit?reset=1&action=update&id=[id]</update>
+ </paths>
<add>1.2</add>
<field>
<name>id</name>