You are here

public function WorkflowState::isCreationState in Workflow 8

Checks if the given state is the 'Create' state.

Return value

bool TRUE if the state is the Creation state, else FALSE.

File

src/Entity/WorkflowState.php, line 340

Class

WorkflowState
Workflow configuration entity to persistently store configuration.

Namespace

Drupal\workflow\Entity

Code

public function isCreationState() {
  return $this->sysid == WORKFLOW_CREATION_STATE;
}