interface PlanTypeInterface in farmOS 2.x
Same name in this branch
- 2.x modules/core/plan/src/Entity/PlanTypeInterface.php \Drupal\plan\Entity\PlanTypeInterface
- 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\PlanTypeView 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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
PlanTypeInterface:: |
public | function | Gets the plan type label. | 1 |
PlanTypeInterface:: |
public | function | Gets the plan workflow ID. | 1 |