protected function CRMCoreContactEntity::defaultUri in CRM Core 7
Override this in order to implement a custom default URI and specify 'entity_class_uri' as 'uri callback' hook_entity_info().
Overrides Entity::defaultUri
File
- modules/
crm_core_contact/ includes/ crm_core_contact.controller.inc, line 12 - Controller class for contacts.
Class
- CRMCoreContactEntity
- CRM Contact Entity Class.
Code
protected function defaultUri() {
return array(
'path' => 'crm-core/contact/' . $this
->identifier(),
'options' => array(
'absolute' => TRUE,
),
);
}