You are here

function menu_position_menu_position_rule_plugins in Menu Position 6

Same name and namespace in other branches
  1. 7.2 menu_position.module \menu_position_menu_position_rule_plugins()
  2. 7 menu_position.module \menu_position_menu_position_rule_plugins()

Implements hook_menu_position_rule_plugins().

File

./menu_position.module, line 63
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',
    ),
  );
  if (module_exists('taxonomy')) {
    $plugins['taxonomy'] = array(
      'file' => 'plugins/menu_position.taxonomy.inc',
    );
  }
  return $plugins;
}