You are here

function hook_salesforce_mapping_entity_uris_alter in Salesforce Suite 7.3

Same name and namespace in other branches
  1. 8.4 salesforce.api.php \hook_salesforce_mapping_entity_uris_alter()
  2. 8.3 salesforce.api.php \hook_salesforce_mapping_entity_uris_alter()
  3. 5.0.x salesforce.api.php \hook_salesforce_mapping_entity_uris_alter()

Provide URIs manually for poorly-behaved entity types.

Note that this hook is self-implemented in salesforce_mapping.module, where User and Node are both initialized.

Parameters

array $entity_uris: An array of items indexed as 'entity_type' => URI, where URI contains a $path index.

Related topics

1 function implements hook_salesforce_mapping_entity_uris_alter()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

salesforce_mapping_salesforce_mapping_entity_uris_alter in modules/salesforce_mapping/salesforce_mapping.module
Implements hook_salesforce_mapping_entity_uris_alter().
1 invocation of hook_salesforce_mapping_entity_uris_alter()
salesforce_mapping_menu in modules/salesforce_mapping/salesforce_mapping.module
Implements hook_menu().

File

./salesforce.api.php, line 126
These are the hooks that are invoked by the Salesforce core.

Code

function hook_salesforce_mapping_entity_uris_alter(&$entity_uris) {

  // For example:
  $entity_uris['node'] = array(
    'path' => 'node/',
  );
}