Come together with the global Drupal community in Rotterdam, 28 Sept – 1 Oct 2026. Sessions, contribution, connection, and Early Bird savings until 8 June.
No, it's correct. Node settings forms store the node type in $form['type'] in 5.x. That's actually the correct way to target the content type settings forms.
Comments
Comment #1
bdragon commentedNo, it's correct. Node settings forms store the node type in $form['type'] in 5.x. That's actually the correct way to target the content type settings forms.