public function PromotionInterface::setDisplayName in Commerce Core 8.2
Sets the promotion display name.
Parameters
string $display_name: The promotion display name.
Return value
$this
1 method overrides PromotionInterface::setDisplayName()
- Promotion::setDisplayName in modules/
promotion/ src/ Entity/ Promotion.php - Sets the promotion display name.
File
- modules/
promotion/ src/ Entity/ PromotionInterface.php, line 60
Class
- PromotionInterface
- Defines the interface for promotions.
Namespace
Drupal\commerce_promotion\EntityCode
public function setDisplayName($display_name);