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