if I comment this

//if($type_def->module == 'node') {
...
//}

then the custom node types work as expected

why are you filtering them out ??

Comments

nerkn’s picture

Status: Active » Reviewed & tested by the community

I thought this is required because other modules could have distinct properties that my module interfere. But you'r right since this module only extends behaviour, pretends like if user submits translations.