public function WebformWorkflowStateController::save in Webform Workflow 7
Overrides parent::save().
Overrides EntityAPIControllerExportable::save
File
- includes/
webform_workflow_state.controller.inc, line 57 - Entity controller for a webform workflow state.
Class
- WebformWorkflowStateController
- @file Entity controller for a webform workflow state.
Code
public function save($state, DatabaseTransaction $transaction = NULL) {
if (!isset($state->created)) {
$state->created = REQUEST_TIME;
}
$state->changed = REQUEST_TIME;
return parent::save($state, $transaction);
}