'url' => 'civicrm/contact/dedupefind',
'qs' => 'reset=1&rgid=%%id%%&action=preview',
'title' => ts('Use DedupeRule'),
+ 'weight' => CRM_Core_Action::getWeight(CRM_Core_Action::VIEW),
];
}
if (CRM_Core_Permission::check('administer dedupe rules')) {
'url' => 'civicrm/contact/deduperules',
'qs' => 'action=update&id=%%id%%',
'title' => ts('Edit DedupeRule'),
+ 'weight' => CRM_Core_Action::getWeight(CRM_Core_Action::UPDATE),
];
$links[CRM_Core_Action::DELETE] = [
'name' => ts('Delete'),
'qs' => 'action=delete&id=%%id%%',
'extra' => 'onclick = "return confirm(\'' . $deleteExtra . '\');"',
'title' => ts('Delete DedupeRule'),
+ 'weight' => CRM_Core_Action::getWeight(CRM_Core_Action::DELETE),
];
}