public static function MultiLevelPushMenu::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/ MultiLevelPushMenu.php, line 34
Class
- MultiLevelPushMenu
- Defines the "mlpm" plugin.
Namespace
Drupal\responsive_menus\Plugin\ResponsiveMenusCode
public static function defaultSettings() {
return [
'responsive_menus_mlpm_css_selectors' => '#main-menu',
'responsive_menus_mlpm_media_size' => 768,
'responsive_menus_mlpm_move_to' => '#page-wrapper',
'responsive_menus_mlpm_nav_block' => 1,
'responsive_menus_mlpm_nav_block_name' => 'mlpm-menu',
'responsive_menus_mlpm_push' => '#page',
'responsive_menus_mlpm_menu_height' => '100%',
'responsive_menus_mlpm_direction' => 'ltr',
'responsive_menus_mlpm_mode' => 'overlap',
'responsive_menus_mlpm_collapsed' => 1,
'responsive_menus_mlpm_full_collapse' => 0,
'responsive_menus_mlpm_swipe' => 'both',
'responsive_menus_mlpm_decoration' => [
'font_awesome' => 1,
'google_fonts' => 1,
'back_text' => 'Back',
'back_class' => 'backItemClass',
'back_icon' => 'fa fa-angle-right',
'group_icon' => 'fa fa-angle-left',
],
'responsive_menus_mlpm_toggle' => [
'container' => '',
'text' => '',
'off_menu' => '',
],
];
}