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