You are here

function pollim_add_page in Poll Improved 7

Page to add Pollim Entities.

@todo Pass this through a proper theme function

1 string reference to 'pollim_add_page'
PollimUIController::hook_menu in ./pollim.admin.inc
Overrides hook_menu() defaults. Main reason for doing this is that parent class hook_menu() is optimized for entity type administration.

File

./pollim.admin.inc, line 308
Pollim editing UI.

Code

function pollim_add_page() {
  $controller = entity_ui_controller('pollim');
  return $controller
    ->addPage();
}