You are here

function services_endpoint_new in Services 7.3

Same name and namespace in other branches
  1. 6.3 services.module \services_endpoint_new()

Create a new endpoint with defaults appropriately set from schema.

Return value

stdClass An endpoint initialized with the default values.

File

./services.module, line 409
Provides a generic but powerful API for web services.

Code

function services_endpoint_new() {
  ctools_include('export');
  return ctools_export_new_object('services_endpoint');
}