public function PromotionEvent::getPromotion in Commerce Core 8.2
Gets the promotion.
Return value
\Drupal\commerce_promotion\Entity\PromotionInterface The promotion.
File
- modules/
promotion/ src/ Event/ PromotionEvent.php, line 38
Class
- PromotionEvent
- Defines the promotion event.
Namespace
Drupal\commerce_promotion\EventCode
public function getPromotion() {
return $this->promotion;
}