'url' => 'civicrm/admin/custom/group/field/update',
'qs' => 'action=update&reset=1&gid=%%gid%%&id=%%id%%',
'title' => ts('Edit Custom Field'),
+ 'weight' => CRM_Core_Action::getWeight(CRM_Core_Action::UPDATE),
],
CRM_Core_Action::BROWSE => [
'name' => ts('Edit Multiple Choice Options'),
'url' => 'civicrm/admin/custom/group/field/option',
'qs' => 'reset=1&action=browse&gid=%%gid%%&fid=%%id%%',
'title' => ts('List Custom Options'),
+ 'weight' => CRM_Core_Action::getWeight(CRM_Core_Action::BROWSE),
],
CRM_Core_Action::PREVIEW => [
'name' => ts('Preview Field Display'),
'url' => 'civicrm/admin/custom/group/preview',
'qs' => 'action=preview&reset=1&fid=%%id%%',
'title' => ts('Preview Custom Field'),
+ 'weight' => CRM_Core_Action::getWeight(CRM_Core_Action::PREVIEW),
],
CRM_Core_Action::DISABLE => [
'name' => ts('Disable'),
'ref' => 'crm-enable-disable',
'title' => ts('Disable Custom Field'),
+ 'weight' => CRM_Core_Action::getWeight(CRM_Core_Action::DISABLE),
],
CRM_Core_Action::ENABLE => [
'name' => ts('Enable'),
'ref' => 'crm-enable-disable',
'title' => ts('Enable Custom Field'),
+ 'weight' => CRM_Core_Action::getWeight(CRM_Core_Action::ENABLE),
],
CRM_Core_Action::EXPORT => [
'name' => ts('Move'),
'class' => 'small-popup',
'qs' => 'reset=1&fid=%%id%%',
'title' => ts('Move Custom Field'),
+ 'weight' => CRM_Core_Action::getWeight(CRM_Core_Action::EXPORT),
],
CRM_Core_Action::DELETE => [
'name' => ts('Delete'),
'url' => 'civicrm/admin/custom/group/field/delete',
'qs' => 'reset=1&id=%%id%%',
'title' => ts('Delete Custom Field'),
+ 'weight' => CRM_Core_Action::getWeight(CRM_Core_Action::DELETE),
],
];
}