0

This question already has an answer here:

How can I add a custom form menu link to the administrative menu programmatically?

I am trying to add this form as admin menu link like content, structure and module.

marked as duplicate by kiamlaluno May 22 '16 at 17:59

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

3

Create a new menu using hook_menu. Like this

$items['admin/config/my_form'] = array(
    'title' => 'My Form',
    'page callback' => 'drupal_get_form',
    'page arguments' => array('form_id'),
    'access callback' => TRUE, // Give access as per your need.
    'type' => MENU_NORMAL_ITEM,
);

Using this your form will be created with the link / menu item under configuration menu.

Thanks.

Not the answer you're looking for? Browse other questions tagged or ask your own question.