ArticleAttributeEntityLifecycleSubscriber

Extends \Shopware\Plugins\ViisonCommon\Classes\Subscribers\Base

package

Default

Methods

getSubscribedEvents

getSubscribedEvents() : array
static

Response

array

Checks all custom attributes field that are known to have a NOT NULL constraint and makes sure the value that is about to be saved is not NULL. That is, if a NULL value is found, it is replaced with the respective default value.

onPreSave(\Enlight_Event_EventArgs $args) 

Arguments

$args

\Enlight_Event_EventArgs