Posted By

grgcnnr on 10/28/11


Tagged

drupal config drupal7


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

sdudenhofer


Making a new block in drupal's admin/config page


 / Published in: PHP
 

  1. $items['admin/config/module'] = array(
  2. 'title' => 'My Site',
  3. 'description' => 'Configure My Site settings.',
  4. 'position' => 'left',
  5. 'weight' => -20,
  6. 'page callback' => 'system_admin_menu_block_page',
  7. 'access arguments' => array('access administration pages'),
  8. 'file' => 'system.admin.inc',
  9. 'file path' => drupal_get_path('module', 'system'),
  10. );

Report this snippet  

You need to login to post a comment.