public function BundleItemInterface::getDefaultVariation in Commerce Product Bundle 8
Get the default variation.
Return value
\Drupal\commerce_product\Entity\ProductVariationInterface The default product variation.
1 method overrides BundleItemInterface::getDefaultVariation()
- ProductBundleItem::getDefaultVariation in src/
Entity/ ProductBundleItem.php - Get the default variation.
File
- src/
Entity/ BundleItemInterface.php, line 237
Class
- BundleItemInterface
- Provides an interface for defining product bundle item entities.
Namespace
Drupal\commerce_product_bundle\EntityCode
public function getDefaultVariation();