public function Promotion::setDescription in Commerce Core 8.2
Sets the promotion description.
Parameters
string $description: The promotion description.
Return value
$this
Overrides PromotionInterface::setDescription
File
- modules/
promotion/ src/ Entity/ Promotion.php, line 160
Class
- Promotion
- Defines the promotion entity class.
Namespace
Drupal\commerce_promotion\EntityCode
public function setDescription($description) {
$this
->set('description', $description);
return $this;
}