You are here

WorkflowInterface.php in Drupal 9

Same filename and directory in other branches
  1. 8 core/modules/workflows/src/WorkflowInterface.php

Namespace

Drupal\workflows

File

core/modules/workflows/src/WorkflowInterface.php
View source
<?php

namespace Drupal\workflows;

use Drupal\Core\Config\Entity\ConfigEntityInterface;

/**
 * Provides an interface for defining workflow entities.
 */
interface WorkflowInterface extends ConfigEntityInterface {

  /**
   * Gets the workflow type plugin.
   *
   * @return \Drupal\workflows\WorkflowTypeInterface
   *   The workflow type plugin.
   */
  public function getTypePlugin();

}

Interfaces

Namesort descending Description
WorkflowInterface Provides an interface for defining workflow entities.