You are here

public function CheeseburgerMenu::defaultConfiguration in Cheeseburger Menu 8.4

Overrides BlockPluginTrait::defaultConfiguration

File

src/Plugin/Block/CheeseburgerMenu.php, line 174
Cheeseburger class extends BlockBase.

Class

CheeseburgerMenu
Block info.

Namespace

Drupal\cheeseburger_menu\Plugin\Block

Code

public function defaultConfiguration() {
  return [
    'depth' => 0,
    'css_default' => FALSE,
    'show_navigation' => TRUE,
    'header_height' => FALSE,
    'hidden_by_default' => FALSE,
    'menu' => [],
    'taxonomy_vocabulary' => [],
    'phone' => [
      'show' => 0,
      'menu_weight' => '0',
      'store' => '0',
      'manual_title' => '',
    ],
    'lang_switcher' => [
      'show' => FALSE,
      'menu_weight' => 0,
    ],
    'cart' => [
      'show' => 0,
      'menu_weight' => '0',
    ],
    'breakpoints' => [
      'all' => TRUE,
    ],
    'active_state_enable' => 0,
    'parent_menu_as_link' => FALSE,
  ] + parent::defaultConfiguration();
}