function vms_mlid_query_types in Views Menu Support 7
Same name and namespace in other branches
- 8 vms.module \vms_mlid_query_types()
Array describing different mlid queries.
4 calls to vms_mlid_query_types()
- vms_get_current_mlid in ./
vms.module - Helper function to get active menu item IDs in three different ways.
- vms_handler_filter_mlid::admin_summary in handlers/
vms_handler_filter_mlid.inc - Display the filter on the administrative summary.
- vms_handler_filter_mlid::value_form in handlers/
vms_handler_filter_mlid.inc - Provide a select list to select (replacement) value.
- vms_plugin_argument_default_mlid::options_form in plugins/
vms_plugin_argument_default_mlid.inc - Provide the default form for setting options.
File
- ./
vms.module, line 15 - Main function for Views menu support, mainly reading the current menu trail.
Code
function vms_mlid_query_types() {
return array(
'***VMS_CURRENT***' => t('Currently active menu item'),
'***VMS_TRAIL***' => t('Current trail of menu items'),
'***VMS_EXCLUDE_CURRENT***' => t('Trail, excluding current page'),
);
}