public function ProductVariationTypeInterface::setGenerateTitle in Commerce Core 8.2
Sets whether the product variation title should be automatically generated.
Parameters
bool $generate_title: Whether the product variation title should be automatically generated.
Return value
$this
1 method overrides ProductVariationTypeInterface::setGenerateTitle()
- ProductVariationType::setGenerateTitle in modules/
product/ src/ Entity/ ProductVariationType.php - Sets whether the product variation title should be automatically generated.
File
- modules/
product/ src/ Entity/ ProductVariationTypeInterface.php, line 49
Class
- ProductVariationTypeInterface
- Defines the interface for product variation types.
Namespace
Drupal\commerce_product\EntityCode
public function setGenerateTitle($generate_title);