public function WorkflowTypeAttributeTrait::setWorkflowId in Workflow 8
Sets the Workflow ID of this object.
Parameters
string $wid: Workflow ID
Return value
object
File
- src/
WorkflowTypeAttributeTrait.php, line 72
Class
- WorkflowTypeAttributeTrait
- Wrapper methods for Workflow* objects.
Namespace
Drupal\workflowCode
public function setWorkflowId($wid) {
$this->wid = $wid;
$this->workflow = NULL;
return $this;
}