Copied!

DeleteBaseProductVariantsEvent

DeleteBaseProductVariantsEvent.php : 14
Extends AfterEvent

Event emitted after action execution.

Methods

public__construct()

DeleteBaseProductVariantsEvent.php : 24
public __construct(ProductInterface $baseProduct[, array<string|int, string> $deletedVariantCodes = [] ])

Parameters

Name Type Default value Description
$baseProduct ProductInterface - -
$deletedVariantCodes array<string|int, string> [] -

publicgetBaseProduct()

DeleteBaseProductVariantsEvent.php : 30
public getBaseProduct() : ProductInterface

Return values

ProductInterface

publicgetDeletedVariantCodes()

DeleteBaseProductVariantsEvent.php : 38
public getDeletedVariantCodes() : array<string|int, string>

Return values

array<string|int, string>

publicsetDeletedVariantCodes()

DeleteBaseProductVariantsEvent.php : 46
public setDeletedVariantCodes(array<string|int, string> $deletedVariantCodes) : void

Parameters

Name Type Default value Description
$deletedVariantCodes array<string|int, string> - -