You are here

function hostingService_example_basic::default_port in Hosting 7.3

Same name and namespace in other branches
  1. 6.2 example/hosting_example.service.inc \hostingService_example_basic::default_port()
  2. 7.4 example/example_service/hosting_example.service.inc \hostingService_example_basic::default_port()

the default value for the port input.

Overrides hostingService::default_port

File

example/example_service/hosting_example.service.inc, line 45
Example service implementation for the hosting front end.

Class

hostingService_example_basic
An implementation of the example service type, registered with hook_hosting_service.

Code

function default_port() {
  return 12345;
}