You are here

protected function PartyActivity::defaultUri in Party 7

Same name and namespace in other branches
  1. 8.2 modules/party_activity/party_activity.entity.inc \PartyActivity::defaultUri()

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/party_activity/party_activity.entity.inc, line 15
Entity and Controller classes for the Party Activity entity

Class

PartyActivity
The class used for Party Activity Entities

Code

protected function defaultUri() {
  return array(
    'path' => 'activity/' . $this->id,
  );
}