You are here

public function WorkflowState::isActive in Workflow 7.2

Same name and namespace in other branches
  1. 7 includes/Entity/WorkflowState.php \WorkflowState::isActive()

Returns the Workflow object of this State.

Return value

bool TRUE if state is active, else FALSE.

File

includes/Entity/WorkflowState.php, line 279
Contains workflow\includes\Entity\WorkflowState. Contains workflow\includes\Entity\WorkflowStateController.

Class

WorkflowState
Class WorkflowState

Code

public function isActive() {
  return (bool) $this->status;
}