function party_activity_create in Party 7
Same name and namespace in other branches
- 8.2 modules/party_activity/party_activity.module \party_activity_create()
Create a PartyActivity object
1 call to party_activity_create()
- PartyActivityUIController::hook_menu in modules/
party_activity/ party_activity.admin.inc - Overrides hook_menu() defaults. Main reason for doing this is that parent class hook_menu is optimized for entity type administration.
1 string reference to 'party_activity_create'
- party_activity_entity_info in modules/
party_activity/ party_activity.module - Implements hook_entity_info().
File
- modules/
party_activity/ party_activity.module, line 236 - Functions and important hooks for the party_activity module
Code
function party_activity_create($values = array()) {
return entity_get_controller('party_activity')
->create($values);
}