You are here

function workflow_schema in Workflow 8

Same name and namespace in other branches
  1. 6.2 workflow.install \workflow_schema()
  2. 6 workflow.install \workflow_schema()
  3. 7.2 workflow.install \workflow_schema()
  4. 7 workflow.install \workflow_schema()

Implements hook_schema().

The D8-schema's have moved to:

  • Workflow annotation (it is a Config Entity now);
  • WorkfowState annotation (it is a Config Entity now);
  • WorkfowConfigTransition annotation (it is a Config Entity now);
  • WorkflowTransition::baseFieldDefinitions();
  • WorkflowScheduledTransition::baseFieldDefinitions().

File

./workflow.install, line 89
Install, update and uninstall functions for the workflow module.

Code

function workflow_schema() {
  return $schema = [];
}