Creating a dropdown for a node

I’m trying to create a new texture node for cycles. When I add the texture node I created in the node editor, the dropdown is grayed out and when I hover over it, this is the message that I get :

Node type (deprecated, use bl_static_type or bl_idname for the actual identifier string)

I don’t have a lot of experience with the code so I’m not sure what the identifier string refers to and where it is in the code.
How can I make the dropdown options appear instead of this message?