public function ProductVariationType::shouldGenerateTitle in Commerce Core 8.2
Gets whether the product variation title should be automatically generated.
Return value
bool Whether the product variation title should be automatically generated.
Overrides ProductVariationTypeInterface::shouldGenerateTitle
File
- modules/
product/ src/ Entity/ ProductVariationType.php, line 95
Class
- ProductVariationType
- Defines the product variation type entity class.
Namespace
Drupal\commerce_product\EntityCode
public function shouldGenerateTitle() {
return (bool) $this->generateTitle;
}