summaryrefslogtreecommitdiffstatshomepage
path: root/core/modules/workflows/src/WorkflowInterface.php
blob: dc09956ec3b8bbc411dd061bde138e34d0724cf5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?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();

}