You are here

protected function Party::defaultUri in Party 8.2

Same name and namespace in other branches
  1. 7 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.

File

includes/party.entity.inc, line 243
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,
  );
}