You are here

function collapsiblock_menu in Collapsiblock 7

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

Implements hook_menu().

File

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

Code

function collapsiblock_menu() {
  $items = array();
  $items['admin/config/user-interface/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;
}