You are here

function wsconfig_add_page in Web Service Data 7

Page to add Model Entities.

@todo Pass this through a proper theme function

1 string reference to 'wsconfig_add_page'
WsConfigUIController::hook_menu in modules/wsconfig/wsconfig.entity.inc
Overrides hook_menu() defaults. Main reason for doing this is that parent class hook_menu() is optimized for entity type administration.

File

modules/wsconfig/wsconfig.admin.inc, line 480
Admin forms for wsconfig

Code

function wsconfig_add_page() {
  $controller = entity_ui_controller('wsconfig');
  return $controller
    ->addPage();
}