You are here

public function ConditionBase::getDisplayLabel in Commerce Core 8.2

Gets the condition display label.

Shown in the condition UI when enabling/disabling a condition.

Return value

string The condition display label.

Overrides ConditionInterface::getDisplayLabel

File

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

Class

ConditionBase
Provides the base class for conditions.

Namespace

Drupal\commerce\Plugin\Commerce\Condition

Code

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