public function ProductVariationAjaxChangeEvent::getViewMode in Commerce Core 8.2
The view mode used to render the product variation.
Return value
string The view mode.
File
- modules/
product/ src/ Event/ ProductVariationAjaxChangeEvent.php, line 79
Class
- ProductVariationAjaxChangeEvent
- Defines the product variation ajax change event.
Namespace
Drupal\commerce_product\EventCode
public function getViewMode() {
return $this->viewMode;
}