public function PromotionInterface::getName in Commerce Core 8.2
Gets the promotion name.
This name is admin-facing.
Return value
string The promotion name.
1 method overrides PromotionInterface::getName()
- Promotion::getName in modules/
promotion/ src/ Entity/ Promotion.php - Gets the promotion name.
File
- modules/
promotion/ src/ Entity/ PromotionInterface.php, line 29
Class
- PromotionInterface
- Defines the interface for promotions.
Namespace
Drupal\commerce_promotion\EntityCode
public function getName();