public function FilterVariationsEvent::getProduct in Commerce Core 8.2
Gets the parent product.
Return value
\Drupal\commerce_product\Entity\ProductInterface The parent product.
File
- modules/
product/ src/ Event/ FilterVariationsEvent.php, line 43
Class
Namespace
Drupal\commerce_product\EventCode
public function getProduct() {
return $this->product;
}