$may_cache ?

2 contenuti / 0 new
Ultimo contenuto
$may_cache ?

a che serve di preciso controllare $may_cache?
L'ho visto utilizzare nell'implementazione dell'hook_menu()

mi rispondo da solo... per la documentazione che avevo girato non avevo trovato niente.. poi tack..

Parameters

$may_cache A boolean indicating whether cacheable menu items should be returned. The menu cache is per-user, so items can be cached so long as they are not dependent on the user's current location. See the local task definitions in node_menu() for an example of uncacheable menu items.