[development] Drupal 7 API Change notification: Four small-ish changes

Randy Fay randy at randyfay.com
Sun Oct 3 17:39:51 UTC 2010


So does that mean that we need to improve the internal docs?

Currently MENU_VISIBLE_IN_BREADCRUMB says "Internal menu flag -- menu item
is visible in the breadcrumb"

-Randy

On Sun, Oct 3, 2010 at 11:12 AM, Daniel F. Kudwien
<news at unleashedmind.com>wrote:

> > I don't understand this. breadcrumbs have always been messed
> > up for MENU_CALLBACK items, but so here's the question: How
> > do you get items to appear in the breadcrumb trail without
> > making them MENU_NORMAL_ITEM and having them appear in navigation?
>
> The difference is that MENU_CALLBACK items are really just invisible
> callbacks now; i.e., plain router items, not having any kind of menu link.
>
> For edge-cases like the given example, in which you have a router path that
> does not contain any dynamic path argument placeholder (%), you want to use
> 'type' => MENU_VISIBLE_IN_BREADCRUMB.
>
> We actually discussed whether we need a new constant, but since a new
> constant would be identical to MENU_VISIBLE_IN_BREADCRUMB, it would just
> have another name.
>
> sun
>
>


-- 
Randy Fay
Drupal Module and Site Development
randy at randyfay.com
+1  970.462.7450
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/development/attachments/20101003/7fadae52/attachment.html 


More information about the development mailing list