public static function Sidr::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/ Sidr.php, line 34
Class
- Sidr
- Defines the "sidr" plugin.
Namespace
Drupal\responsive_menus\Plugin\ResponsiveMenusCode
public static function defaultSettings() {
return [
'responsive_menus_sidr_css_selectors' => '#main-menu',
'responsive_menus_sidr_trigger_txt' => t('Menu'),
'responsive_menus_sidr_menu_side' => 'left',
'responsive_menus_sidr_menu_theme' => 'dark',
'responsive_menus_sidr_animation_speed' => 200,
'responsive_menus_sidr_media_size' => 768,
'responsive_menus_sidr_displace' => 1,
'responsive_menus_sidr_renaming' => 1,
'responsive_menus_sidr_on_open' => '',
'responsive_menus_sidr_on_close' => '',
];
}