My Mautic version is: 4.4.4 (suggestiond with 5.0+ are accepted too)
Hello, I would like to know where is located Mautic code which is responsible for importing data (Import from background option on contacts page to be specific) into leads datatable (Mautic database, leads table which is responsible for holding contacts information).
To put this simply I would like to know where should I look for code which is executed after contacts are about to be imported. (I am aware that cron job mautic:import is also taking part in this so I would like to find any related code which is executed either by this cron job or directly after import).
Final goal is to swap leads table with custom_leads table and import data into custom_leads table. But to make sure all campaigns and contacts related logic is still tied to leads table, meaning if I decide to move data from custom_leads table into leads table, only data present in leads table will be interacted with in Mautic.