You are here

protected function Party::defaultUri in Party 7

Same name and namespace in other branches
  1. 8.2 includes/party.entity.inc \Party::defaultUri()

Return the default path for this party.

Return value

array An array with the following key:

  • path - the drupal path for the party.

Overrides Entity::defaultUri

File

includes/party.entity.inc, line 339
Contains the controller classes for Party entities.

Class

Party
The class used for party entities.

Code

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