function menu_position_menu_position_rule_plugins in Menu Position 7.2
Same name and namespace in other branches
- 6 menu_position.module \menu_position_menu_position_rule_plugins()
- 7 menu_position.module \menu_position_menu_position_rule_plugins()
Implements hook_menu_position_rule_plugins().
File
- ./
menu_position.module, line 164 - Provides menu links for dynamic positioning of nodes based on configurable rules.
Code
function menu_position_menu_position_rule_plugins() {
$plugins = array(
'content_type' => array(
'file' => 'plugins/menu_position.content_type.inc',
),
'pages' => array(
'file' => 'plugins/menu_position.pages.inc',
),
'user_role' => array(
'file' => 'plugins/menu_position.user_roles.inc',
),
);
if (module_exists('locale')) {
$plugins['language'] = array(
'file' => 'plugins/menu_position.language.inc',
);
}
if (module_exists('taxonomy')) {
$plugins['taxonomy'] = array(
'file' => 'plugins/menu_position.taxonomy.inc',
);
}
return $plugins;
}