You are here

WorkflowInterface.php in Drupal 8

Same filename and directory in other branches
  1. 9 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.