function hostingService_example_basic::delete in Hosting 6.2
Same name and namespace in other branches
- 7.4 example/example_service/hosting_example.service.inc \hostingService_example_basic::delete()
- 7.3 example/example_service/hosting_example.service.inc \hostingService_example_basic::delete()
Delete a record from the database, based on server node.
Overrides hostingService::delete
File
- example/
hosting_example.service.inc, line 183 - 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 delete() {
// REMEMBER TO CALL THE PARENT!
parent::delete();
variable_del('hosting_example_field_' . $this->server->nid);
}