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