You are here

public static function ResponsiveMenusSimple::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/ResponsiveMenusSimple.php, line 34

Class

ResponsiveMenusSimple
Defines the "responsive_menus_simple" plugin.

Namespace

Drupal\responsive_menus\Plugin\ResponsiveMenus

Code

public static function defaultSettings() {
  return [
    'responsive_menus_simple_absolute' => 1,
    'responsive_menus_disable_mouse_events' => 0,
    'responsive_menus_remove_attributes' => 1,
    'responsive_menus_css_selectors' => '#main-menu',
    'responsive_menus_simple_text' => '☰ Menu',
    'responsive_menus_media_size' => 768,
    'responsive_menus_media_unit' => 'px',
  ];
}