danielebarchiesi@0:

Access plugins allow context based access control to pages.

danielebarchiesi@0:
    'title' => Title of the plugin
danielebarchiesi@0:     'description' => Description of the plugin
danielebarchiesi@0:     'callback' => callback to see if there is access is available. params: $conf, $contexts, $account
danielebarchiesi@0:     'required context' => zero or more required contexts for this access plugin
danielebarchiesi@0:     'default' => an array of defaults or a callback giving defaults
danielebarchiesi@0:     'settings form' => settings form. params: &$form, &$form_state, $conf
danielebarchiesi@0:     settings form validate
danielebarchiesi@0:     settings form submit
danielebarchiesi@0: 
danielebarchiesi@0: danielebarchiesi@0:

Warning: your settings array will be stored in the meny system to reduce loads, so be trim.