We have many content types and fields, and the "Edit Node Type" page is taking about 30 seconds to load. The culprit appears to be a module that lists all of the available "node" tokens, using this code:
$form['modulename']['token_help'] = array(
'#theme' => 'token_tree',
'#token_types' => array('node'),
);
'#token_types' => array('node') gives Node tokens for every content type, even though the form will only pertain to the one Content Type.
Is there a way to limit the token tree to display only node tokens pertaining to a specific content type (without using Token Tweaks module)?