public function Product::getName in Commerce Google Tag Manager 8.2
Same name and namespace in other branches
- 8 src/Product.php \Drupal\commerce_google_tag_manager\Product::getName()
Get the product name.
Return value
string The name.
File
- src/
Product.php, line 95
Class
- Product
- Represents a product in the domain of Google's Enhanced Ecommerce.
Namespace
Drupal\commerce_google_tag_managerCode
public function getName() {
return $this->name;
}