I want to manipulate some values and execute a custom function if an object is saved trought the backend. I found through my google search that I have to specify this in my
Register your hook class in local configuration (ext_localconf.php):
$GLOBALS ['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processDatamapClass'][''] = 'NXS\\NxsReferenzen\\Hook\\TCEmainHook';
$GLOBALS ['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processCmdmapClass'][''] = 'NXS\\NxsReferenzen\\Hook\\TCEmainHook';
Ensure your hook class has namespace declaration:
';
var_dump($command);
echo '';
die();
}
}