public function PromotionInterface::getDisplayName in Commerce Core 8.2
Gets the promotion display name.
This name is user-facing. Shown in the order total summary.
Return value
string The promotion display name. If empty, use t('Discount').
1 method overrides PromotionInterface::getDisplayName()
- Promotion::getDisplayName in modules/
promotion/ src/ Entity/ Promotion.php - Gets the promotion display name.
File
- modules/
promotion/ src/ Entity/ PromotionInterface.php, line 50
Class
- PromotionInterface
- Defines the interface for promotions.
Namespace
Drupal\commerce_promotion\EntityCode
public function getDisplayName();