public function BundleItemInterface::isRequired in Commerce Product Bundle 8
Whether the product bundle item is required or not.
Return value
bool TRUE if required, FALSE if optional.
1 method overrides BundleItemInterface::isRequired()
- ProductBundleItem::isRequired in src/
Entity/ ProductBundleItem.php - Whether the product bundle item is required or not.
File
- src/
Entity/ BundleItemInterface.php, line 54
Class
- BundleItemInterface
- Provides an interface for defining product bundle item entities.
Namespace
Drupal\commerce_product_bundle\EntityCode
public function isRequired();