public static function PanelizerProduct::create in Commerce Core 8.2
File
- modules/
product/ src/ Plugin/ PanelizerEntity/ PanelizerProduct.php, line 64
Class
- PanelizerProduct
- Panelizer entity plugin for integrating with products.
Namespace
Drupal\commerce_product\Plugin\PanelizerEntityCode
public static function create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition) {
return new static($configuration, $plugin_id, $plugin_definition, $container
->get('panels.display_manager'), $container
->get('entity_field.manager'), $container
->get('commerce_product.variation_field_renderer'), $container
->get('entity_type.manager'));
}