array(
'id' => $row['id'],
'key' => $obj->key,
- )
+ ),
+ ts('more'),
+ FALSE,
+ 'extension.local.action',
+ 'Extension',
+ $row['id']
);
+ // Key would be better to send, but it's not an integer. Moreover, sending the
+ // values to hook_civicrm_links means that you can still get at the key
$localExtensionRows[$row['id']] = $row;
}
array(
'id' => $row['id'],
'key' => $row['key'],
- )
+ ),
+ ts('more'),
+ FALSE,
+ 'extension.remote.action',
+ 'Extension',
+ $row['id']
);
if (isset($localExtensionRows[$info->key])) {
if (version_compare($localExtensionRows[$info->key]['version'], $info->version, '<')) {