Triggered before a new customer record is imported from a CSV file.
The event handler should accept a single parameter - the array of imported fields.
public function subscribeEvents()
{
Backend::$events->addEvent('shop:onBeforeCsvCustomerCreated', $this, 'csv_before_customer_created');
}
public function csv_before_customer_created($fields)
{
// Do something
}