function WorkflowState::isActive in Workflow 7
Same name and namespace in other branches
- 7.2 includes/Entity/WorkflowState.php \WorkflowState::isActive()
Returns the Workflow object of this State.
Return value
boolean TRUE if state is active, else FALSE.
File
- includes/
Entity/ WorkflowState.php, line 250 - Contains workflow\includes\Entity\WorkflowState.
Class
- WorkflowState
- @file Contains workflow\includes\Entity\WorkflowState.
Code
function isActive() {
return (bool) $this->status;
}