'url' => $urlString . 'settings',
'qs' => $urlParams,
'uniqueName' => 'settings',
- // This needs to be lower than Membership Settings since otherwise the order doesn't make sense
- 'weight' => CRM_Core_Action::getWeight(CRM_Core_Action::VIEW),
+ 'weight' => CRM_Core_Action::getWeight(CRM_Core_Action::ADD),
],
CRM_Core_Action::UPDATE => [
'name' => ts('Contribution Amounts'),
'qs' => "reset=1&cid=%%id%%{$extraParams}{$searchContext}",
'class' => 'no-popup',
'title' => ts('View Contact Details'),
+ 'weight' => CRM_Core_Action::getWeight(CRM_Core_Action::VIEW),
],
CRM_Core_Action::UPDATE => [
'name' => ts('Edit'),
'qs' => 'reset=1&action=update&cid=%%id%%',
'class' => 'no-popup',
'title' => ts('Edit Contact Details'),
+ 'weight' => CRM_Core_Action::getWeight(CRM_Core_Action::UPDATE),
],
];