src/CoreBundle/EventListener/DcGeneral/Table/Attribute/AttributeDeletedListener.php
public function handle(PreDeleteModelEvent $event)
    {
        if (!$this->wantToHandle($event)) {
            return;
        }

        if ($attribute = $this->createAttributeInstance($event->getModel())) {
            $this->deleteConditionSettings($event);
            $attribute->destroyAUX();
        }
    }
public function handle(PreDeleteModelEvent $event)
    {
        if (!$this->wantToHandle($event)) {
            return;
        }

        if ($attribute = $this->createAttributeInstance($event->getModel())) {
            $this->deleteConditionSettings($event);
            $attribute->destroyAUX();
        }
    }
Handle the update of an attribute and all attached data.

@param PreDeleteModelEvent $event The event.

@return void