interface WorkflowInterface

Same name and namespace in other branches
  1. 11.x core/modules/workflows/src/WorkflowInterface.php \Drupal\workflows\WorkflowInterface
  2. 10 core/modules/workflows/src/WorkflowInterface.php \Drupal\workflows\WorkflowInterface
  3. 8.9.x core/modules/workflows/src/WorkflowInterface.php \Drupal\workflows\WorkflowInterface

Provides an interface for defining workflow entities.

Hierarchy

Expanded class hierarchy of WorkflowInterface

All classes that implement WorkflowInterface

15 files declare their use of WorkflowInterface
ContentModeration.php in core/modules/content_moderation/src/Plugin/WorkflowType/ContentModeration.php
ContentModerationConfigureEntityTypesForm.php in core/modules/content_moderation/src/Form/ContentModerationConfigureEntityTypesForm.php
ContentModerationTestTrait.php in core/modules/content_moderation/tests/src/Traits/ContentModerationTestTrait.php
content_moderation.module in core/modules/content_moderation/content_moderation.module
Contains content_moderation.module.
ModerationInformationTest.php in core/modules/content_moderation/tests/src/Unit/ModerationInformationTest.php

... See full list

File

core/modules/workflows/src/WorkflowInterface.php, line 10

Namespace

Drupal\workflows
View source
interface WorkflowInterface extends ConfigEntityInterface {
  
  /**
   * Gets the workflow type plugin.
   *
   * @return \Drupal\workflows\WorkflowTypeInterface
   *   The workflow type plugin.
   */
  public function getTypePlugin();

}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.