function isotope_menu in Isotope (with Masonry and Packery) 6
Same name and namespace in other branches
- 7 isotope.module \isotope_menu()
Implements hook_menu().
Defines the admin settings page for the module
File
- ./
isotope.module, line 49 - This adds the jquery.isotope.js library if found in the libraries folder
Code
function isotope_menu() {
$items['admin/build/isotope'] = array(
'title' => 'Isotope.js Settings',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'isotope_admin',
),
'access callback' => 'user_access',
'access arguments' => array(
'access administer isotope',
),
'type' => MENU_NORMAL_ITEM,
'file' => 'includes/isotope.admin.inc',
);
return $items;
}