You are here

public function ProductTypeInterface::shouldInjectVariationFields in Commerce Core 8.2

Gets whether variation fields should be injected into the rendered product.

Return value

bool TRUE if the variation fields should be injected into the rendered product, FALSE otherwise.

1 method overrides ProductTypeInterface::shouldInjectVariationFields()
ProductType::shouldInjectVariationFields in modules/product/src/Entity/ProductType.php
Gets whether variation fields should be injected into the rendered product.

File

modules/product/src/Entity/ProductTypeInterface.php, line 57

Class

ProductTypeInterface
Defines the interface for product types.

Namespace

Drupal\commerce_product\Entity

Code

public function shouldInjectVariationFields();