You are here

function hook_fieldmap_objects_alter in Salesforce Suite 7

Same name and namespace in other branches
  1. 6.2 hooks.php \hook_fieldmap_objects_alter()
  2. 7.2 salesforce_api.api.php \hook_fieldmap_objects_alter()

Modify fieldmap object definitions.

Parameters

$objects: The fieldmap object definition as defined by hook_fieldmap_objects implementations.

1 invocation of hook_fieldmap_objects_alter()
salesforce_api_fieldmap_objects_load in salesforce_api/salesforce_api.module
Returns all or a subset of the objects defined via hook_sf_fieldmap().

File

./hooks.php, line 75
These are the hooks that are invoked by the Salesforce core.

Code

function hook_fieldmap_objects_alter(&$objects) {
  $objects['node']['page']['fields']['status']['label'] = "Published Status";
}