You are here

function services_endpoint_new in Services 6.3

Same name and namespace in other branches
  1. 7.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.

1 call to services_endpoint_new()
ServicesModuleTests::testServicesEndpointNew in tests/unit/TestServicesModule.test
Test services_endpoint_new().

File

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

Code

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