You are here

interface PlanTypeInterface in farmOS 2.x

Same name in this branch
  1. 2.x modules/core/plan/src/Entity/PlanTypeInterface.php \Drupal\plan\Entity\PlanTypeInterface
  2. 2.x modules/core/entity/src/Plugin/Plan/PlanType/PlanTypeInterface.php \Drupal\farm_entity\Plugin\Plan\PlanType\PlanTypeInterface

Defines the interface for plan types.

Hierarchy

  • interface \Drupal\farm_entity\Plugin\Plan\PlanType\PlanTypeInterface extends \Drupal\entity\BundlePlugin\BundlePluginInterface

Expanded class hierarchy of PlanTypeInterface

All classes that implement PlanTypeInterface

File

modules/core/entity/src/Plugin/Plan/PlanType/PlanTypeInterface.php, line 10

Namespace

Drupal\farm_entity\Plugin\Plan\PlanType
View source
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();

}

Members

Namesort descending Modifiers Type Description Overrides
PlanTypeInterface::getLabel public function Gets the plan type label. 1
PlanTypeInterface::getWorkflowId public function Gets the plan workflow ID. 1