You are here

function menu_block_default_config in Menu Block 7.3

Same name and namespace in other branches
  1. 7.2 menu_block.module \menu_block_default_config()

The default menu block configuration.

Return value

array

4 calls to menu_block_default_config()
menu_block_configure_form in ./menu_block.admin.inc
Returns the configuration form for a menu tree.
menu_block_delete in ./menu_block.module
Delete a menu block.
menu_block_get_config in ./menu_block.module
Returns the configuration for the requested block delta.
menu_block_uninstall in ./menu_block.install
Implements hook_uninstall().

File

./menu_block.module, line 237
Provides configurable blocks of menu items.

Code

function menu_block_default_config() {
  return array(
    'parent' => 'main-menu:0',
    'title_link' => 0,
    'admin_title' => '',
    'level' => 1,
    'follow' => 0,
    'depth' => 0,
    'depth_relative' => 0,
    'expanded' => 0,
    'sort' => 0,
  );
}