public function onBeforeExport($element , array $newElement)
    {
        $event = new ExportEvent(array(
            'element' => $element,
            'value' => $newElement
        ));
        $this->trigger($this::EVENT_BEFORE_EXPORT_ELEMENT, $event);
        return $event->value;
    }
public function onBeforeExport($element , array $newElement)
    {
        $event = new ExportEvent(array(
            'element' => $element,
            'value' => $newElement
        ));
        $this->trigger($this::EVENT_BEFORE_EXPORT_ELEMENT, $event);
        return $event->value;
    }
public function onBeforeExport ( $ element , array $ newElement ) { $ event = new ExportEvent ( array ( 'element' => $ element , 'value' => $ newElement ) ) ; $ this -> trigger ( $ this :: EVENT_BEFORE_EXPORT_ELEMENT , $ event ) ; return $ event -> value ; }
Fires an 'onBeforeExport' event.

@param Event $event
$event->params['element'] - element being exported via migration
$event->params['value'] - current element value, change this value in the event handler to migrate a different value

@return null
Fires an onBeforeExport event .