function party_activity_add_page in Party 7
Same name and namespace in other branches
- 8.2 modules/party_activity/party_activity.admin.inc \party_activity_add_page()
Page to add activity Entities.
@todo Pass this through a proper theme function
1 string reference to 'party_activity_add_page'
- 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.
File
- modules/
party_activity/ party_activity.admin.inc, line 535 - Party Activity editing UI
Code
function party_activity_add_page() {
$controller = entity_ui_controller('party_activity');
return $controller
->addPage();
}