You are here

function collapsiblock_menu in Collapsiblock 6

Same name and namespace in other branches
  1. 7.2 collapsiblock.module \collapsiblock_menu()
  2. 7 collapsiblock.module \collapsiblock_menu()

Implementation of hook_menu().

File

./collapsiblock.module, line 18
Make blocks collapsible.

Code

function collapsiblock_menu() {
  $items = array();
  $items['admin/settings/collapsiblock'] = array(
    'title' => 'Collapsiblock',
    'description' => 'Configuration for collapsible blocks',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'collapsiblock_admin_settings',
    ),
    'access arguments' => array(
      'administer site configuration',
    ),
  );
  return $items;
}