public static function BulkVariationsCreatorInterface::getSkuwidget in Commerce Bulk 8
Helper method to get variation sku field form display settings.
Parameters
\Drupal\commerce_product\Entity\ProductVariation $variation: The commerce product variation.
Return value
\Drupal\commerce_product\Plugin\Field\FieldWidget\ProductVariationSkuWidget The product variation SKU widget.
See also
\Drupal\commerce\Plugin\Field\FieldWidget\ProductVariationSkuWidget
\Drupal\Core\Field\Plugin\Field\FieldWidget\StringTextfieldWidget
1 method overrides BulkVariationsCreatorInterface::getSkuwidget()
- BulkVariationsCreator::getSkuwidget in src/
BulkVariationsCreator.php - Helper method to get variation sku field form display settings.
File
- src/
BulkVariationsCreatorInterface.php, line 28
Class
- BulkVariationsCreatorInterface
- Manages variation combinations creation.
Namespace
Drupal\commerce_bulkCode
public static function getSkuwidget(ProductVariation $variation);