You are here

function party_add in Party 7

Same name and namespace in other branches
  1. 8.2 party.pages.inc \party_add()

Page callback for adding a party.

1 string reference to 'party_add'
party_menu in ./party.module
Implements hook_menu().

File

./party.pages.inc, line 36
party.pages.inc

Code

function party_add() {
  $party = entity_create('party', array(
    'label' => '',
  ));
  return drupal_get_form('party_form', $party);
}