function casetracker_case_add_page in Case Tracker 7.2
Page to add CaseTrackerCase Entities.
@todo Pass this through a proper theme function
1 string reference to 'casetracker_case_add_page'
- CaseTrackerCaseUIController::hook_menu in includes/
controller/ ui/ CaseTrackerCaseUIController.inc - Overrides hook_menu() defaults. Main reason for doing this is that parent class hook_menu() is optimized for entity type administration.
File
- ./
casetracker_case.inc, line 331 - This file concentrates all general functionality related to Cases in Case Tracker, leaving to the other files in /admin the stuff related to CRUD and structural configuration
Code
function casetracker_case_add_page() {
$controller = entity_ui_controller('casetracker_case');
return $controller
->addPage();
}