You are here

function party_hat_uri in Party 7

Same name and namespace in other branches
  1. 8.2 modules/party_hat/party_hat.module \party_hat_uri()

URI callback for hats.

1 string reference to 'party_hat_uri'
party_hat_entity_info in modules/party_hat/party_hat.module
Implements hook_entity_info().

File

modules/party_hat/party_hat.module, line 103
party_hat.module Provides an extensible access system for parties.

Code

function party_hat_uri($party_hat) {

  // Uses the machine name, since these are exportables.
  return array(
    'path' => 'admin/community/hats/manage/' . $party_hat->name,
  );
}