You are here

public function WorkflowInterface::isValid in Workflow 8

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 src/Entity/Workflow.php
Validate the workflow. Generate a message if not correct.

File

src/Entity/WorkflowInterface.php, line 34

Class

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

Namespace

Drupal\workflow\Entity

Code

public function isValid();