You are here

public function hostingService::context_options in Hosting 6.2

Same name and namespace in other branches
  1. 7.4 server/hosting_server.service.inc \hostingService::context_options()
  2. 7.3 server/hosting_server.service.inc \hostingService::context_options()
6 calls to hostingService::context_options()
hostingService_db_mysql::context_options in db_server/hosting_db_server.service.inc
hostingService_dns_master::context_options in dns/hosting_dns.service.inc
hostingService_example_basic::context_options in example/hosting_example.service.inc
Pass values to the provision backend when we call provision-save.
hostingService_http_cluster::context_options in web_cluster/hosting_web_cluster.service.inc
hostingService_http_pack::context_options in web_pack/hosting_web_pack.service.inc

... See full list

6 methods override hostingService::context_options()
hostingService_db_mysql::context_options in db_server/hosting_db_server.service.inc
hostingService_dns_master::context_options in dns/hosting_dns.service.inc
hostingService_example_basic::context_options in example/hosting_example.service.inc
Pass values to the provision backend when we call provision-save.
hostingService_http_cluster::context_options in web_cluster/hosting_web_cluster.service.inc
hostingService_http_pack::context_options in web_pack/hosting_web_pack.service.inc

... See full list

File

server/hosting_server.service.inc, line 141

Class

hostingService

Code

public function context_options($task_type, $ref_type, &$task) {
  $task->context_options[$this->service . '_service_type'] = $this->type;
  if ($this->has_restart_cmd) {
    $task->context_options[$this->service . '_restart_cmd'] = $this->restart_cmd;
  }
  if ($this->has_port) {
    $task->context_options[$this->service . '_port'] = $this->port;
  }
}