You are here

PlanTypeInterface.php in farmOS 2.x

File

modules/core/entity/src/Plugin/Plan/PlanType/PlanTypeInterface.php
View source
<?php

namespace Drupal\farm_entity\Plugin\Plan\PlanType;

use Drupal\entity\BundlePlugin\BundlePluginInterface;

/**
 * Defines the interface for plan types.
 */
interface PlanTypeInterface extends BundlePluginInterface {

  /**
   * Gets the plan type label.
   *
   * @return string
   *   The plan type label.
   */
  public function getLabel();

  /**
   * Gets the plan workflow ID.
   *
   * @return string
   *   The plan workflow ID.
   */
  public function getWorkflowId();

}

Interfaces

Namesort descending Description
PlanTypeInterface Defines the interface for plan types.