You are here

public function WorkflowInterface::isValid in Workflow 7.2

Validate the workflow. Generate a message if not correct.

This function is used on the settings page of:

  • Workflow field: WorkflowItem->settingsForm()

Return value

bool $is_valid

1 method overrides WorkflowInterface::isValid()
Workflow::isValid in includes/Entity/Workflow.php
Validate the workflow. Generate a message if not correct.

File

includes/Entity/WorkflowInterface.php, line 47
Contains Drupal\workflow\Entity\WorkflowInterface.

Class

WorkflowInterface
Defines a common interface for Workflow*Transition* objects.

Code

public function isValid();