You are here

public static function MeanMenu::defaultSettings in Responsive Menus 8

Defines the default settings for this plugin.

Return value

array A list of default settings, keyed by the setting name.

Overrides PluginSettingsBase::defaultSettings

File

src/Plugin/ResponsiveMenus/MeanMenu.php, line 34

Class

MeanMenu
Defines the "mean_menu" plugin.

Namespace

Drupal\responsive_menus\Plugin\ResponsiveMenus

Code

public static function defaultSettings() {
  return [
    'responsive_menus_mean_menu_css_selectors' => '#main-menu',
    'responsive_menus_mean_menu_container' => 'body',
    'responsive_menus_mean_menu_trigger_txt' => '<span /><span /><span />',
    'responsive_menus_mean_menu_close_txt' => 'X',
    'responsive_menus_mean_menu_close_size' => '18px',
    'responsive_menus_mean_menu_position' => 'right',
    'responsive_menus_mean_menu_media_size' => 480,
    'responsive_menus_mean_menu_show_children' => 1,
    'responsive_menus_mean_menu_expand_children' => 1,
    'responsive_menus_mean_menu_expand_txt' => '+',
    'responsive_menus_mean_menu_contract_txt' => '-',
    'responsive_menus_mean_menu_remove_attrs' => 1,
  ];
}