You are here

function casetracker_project_add_page in Case Tracker 7.2

Page to add CaseTrackerProject Entities.

@todo Pass this through a proper theme function

1 string reference to 'casetracker_project_add_page'
CaseTrackerProjectUIController::hook_menu in includes/controller/ui/CaseTrackerProjectUIController.inc
Overrides hook_menu() defaults. Main reason for doing this is that parent class hook_menu() is optimized for entity type administration.

File

./casetracker_project.inc, line 332
This file concentrates all general functionality related to Projects in Case Tracker, leaving to the other files in /admin the stuff related to CRUD and structural configuration

Code

function casetracker_project_add_page() {
  $controller = entity_ui_controller('casetracker_project');
  return $controller
    ->addPage();
}