Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Use it for questions about navigation menus and links used in a site.
-1
votes
1
answer
14
views
How to deny access to menu items that aren't expected
I want to find a way to make requests to hook_menu that I don't expect be denied. For example I have defined a menu like this:
$items[$my_url] = array(
'title' => $my_title,
'page callback' => 'm …
0
votes
How to deny access to menu items that aren't expected
The following MENU_CALLBACK worked to deny wild card matches for me.
$items[$my_url . '/%'] = array(
'type' => MENU_CALLBACK,
'page callback' => 'drupal_access_denied',
'access callback' => TRU …