public function ProductInterface::setTitle in Commerce Core 8.2
Sets the product title.
Parameters
string $title: The product title.
Return value
$this
1 method overrides ProductInterface::setTitle()
- Product::setTitle in modules/
product/ src/ Entity/ Product.php - Sets the product title.
File
- modules/
product/ src/ Entity/ ProductInterface.php, line 32
Class
- ProductInterface
- Defines the interface for products.
Namespace
Drupal\commerce_product\EntityCode
public function setTitle($title);