function processDatamap_postProcessFieldArray($status, $table, $id, $fieldArray, $tce) { if ($table === 'tx_dam' and $fieldArray['language']) { // the hotlist will be updated only if the field changed, because only then it's in the $fieldArray tx_staticinfotables_div::updateHotlist('static_languages', $fieldArray['language'], 'lg_iso_2', 'dam'); } }
function processDatamap_postProcessFieldArray($status, $table, $id, $fieldArray, &$pObj) { if ($table == 'sys_language' and $fieldArray['static_lang_isocode']) { // the hotlist will be updated only if the field changed, because only then it's in the $fieldArray tx_staticinfotables_div::updateHotlist('static_languages', $fieldArray['static_lang_isocode'], 'uid'); } }