You are here

public function PlanTypeBase::getLabel in farmOS 2.x

Gets the plan type label.

Return value

string The plan type label.

Overrides PlanTypeInterface::getLabel

File

modules/core/entity/src/Plugin/Plan/PlanType/PlanTypeBase.php, line 15

Class

PlanTypeBase
Provides the base plan type class.

Namespace

Drupal\farm_entity\Plugin\Plan\PlanType

Code

public function getLabel() {
  return $this->pluginDefinition['label'];
}