WorkflowInterface.php

Same filename and directory in other branches
  1. 9 core/modules/workflows/src/WorkflowInterface.php
  2. 8.9.x core/modules/workflows/src/WorkflowInterface.php
  3. 10 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

Title Deprecated Summary
WorkflowInterface Provides an interface for defining workflow entities.

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