You are here

public function ConditionBase::getLabel in Commerce Core 8.2

Gets the condition label.

Return value

string The condition label.

Overrides ConditionInterface::getLabel

File

src/Plugin/Commerce/Condition/ConditionBase.php, line 75

Class

ConditionBase
Provides the base class for conditions.

Namespace

Drupal\commerce\Plugin\Commerce\Condition

Code

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