public function hostingService::view in Hosting 7.3
Same name and namespace in other branches
- 6.2 server/hosting_server.service.inc \hostingService::view()
- 7.4 server/hosting_server.service.inc \hostingService::view()
3 calls to hostingService::view()
- hostingService_db_mysql::view in db_server/
hosting_db_server.service.inc - hostingService_example_basic::view in example/
example_service/ hosting_example.service.inc - Display settings on the server node page.
- hostingService_http_ssl::view in web_server/
ssl/ hosting_ssl.service.inc
5 methods override hostingService::view()
- hostingService_db_mysql::view in db_server/
hosting_db_server.service.inc - hostingService_example_basic::view in example/
example_service/ hosting_example.service.inc - Display settings on the server node page.
- hostingService_http_cluster::view in web_cluster/
hosting_web_cluster.service.inc - hostingService_http_pack::view in web_pack/
hosting_web_pack.service.inc - hostingService_http_ssl::view in web_server/
ssl/ hosting_ssl.service.inc
File
- server/
hosting_server.service.inc, line 172 - Define the base Hosting service class.
Class
- hostingService
- @file Define the base Hosting service class.
Code
public function view(&$render) {
if ($this->has_restart_cmd) {
$render['restart_cmd'] = array(
'#type' => 'item',
'#title' => t('Restart command'),
'#markup' => filter_xss($this->restart_cmd),
);
}
if ($this->has_port) {
$render['port'] = array(
'#type' => 'item',
'#title' => t('Port'),
'#markup' => filter_xss($this->port),
);
}
}