Custom content type not showing up?

You’ve created a custom drupal module to define a content type, its showing up in the create content menu, but its not showing up in the admin/content/type menu. What could be wrong?

Check that you have declared the [module_name]_form() function in your .module file.

Function header:

function [module_name]_form($form_state)

Note: if its not even in the create content menu, you need the [module_name]_node_info() function.

2 thoughts on “Custom content type not showing up?

  1. Gyaneshwar pardhi

    Thanks a lot for solution .
    i have same problem because i didn’t use _form function in place of this is used _form_alter.

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *