<?php

return [
    'sections' => [
        'joomla-menus' => [
            'title' => 'Menus',
            'priority' => 30,
            'help' => [
                'Menus' => [
                    [
                        'title' => 'Managing Menus',
                        'src' =>
                            'https://www.youtube-nocookie.com/watch?v=9WljKJbxzZc&amp;list=PLrqT0WH0HPdPfykSwhMt6Jl2_RgJ6ixU-',
                        'duration' => '1:03',
                        'documentation' => 'support/yootheme-pro/joomla/menus',
                        'support' => 'support/search?tags=125&q=menu',
                    ],
                    [
                        'title' => 'Setting Menu Items',
                        'src' =>
                            'https://www.youtube-nocookie.com/watch?v=Kvvp3il_yXY&amp;list=PLrqT0WH0HPdPfykSwhMt6Jl2_RgJ6ixU-',
                        'duration' => '3:07',
                        'documentation' => 'support/yootheme-pro/joomla/menus#menu-items',
                        'support' => 'support/search?tags=125&q=menu%20item',
                    ],
                    [
                        'title' => 'Using the Mega Menu Builder',
                        'src' =>
                            'https://www.youtube-nocookie.com/watch?v=hE_xXcc10K4&amp;list=PLrqT0WH0HPdPfykSwhMt6Jl2_RgJ6ixU-',
                        'duration' => '2:21',
                        'documentation' => 'support/yootheme-pro/joomla/menus#mega-menu-builder',
                        'support' => 'support/search?tags=125&q=mega%20menu',
                    ],
                    [
                        'title' => 'Using Menu Positions',
                        'src' =>
                            'https://www.youtube-nocookie.com/watch?v=Yny3ilroGag&amp;list=PLrqT0WH0HPdPfykSwhMt6Jl2_RgJ6ixU-',
                        'duration' => '2:29',
                        'documentation' => 'support/yootheme-pro/joomla/menus#menu-positions',
                        'support' => 'support/search?tags=125&q=menu%20position',
                    ],
                    [
                        'title' => 'Using Menu Position Options',
                        'src' =>
                            'https://www.youtube-nocookie.com/watch?v=_gnAQE_MlsI&amp;list=PLrqT0WH0HPdPfykSwhMt6Jl2_RgJ6ixU-',
                        'duration' => '2:17',
                        'documentation' => 'support/yootheme-pro/joomla/menus#menu-positions',
                        'support' => 'support/search?tags=125&q=menu%20position%20options',
                    ],
                    [
                        'title' => 'Using the Menu Module',
                        'src' =>
                            'https://www.youtube-nocookie.com/watch?v=uJyUxVOT30Y&amp;list=PLrqT0WH0HPdPfykSwhMt6Jl2_RgJ6ixU-',
                        'duration' => '1:27',
                        'documentation' => 'support/yootheme-pro/joomla/menus#menu-module',
                        'support' => 'support/search?tags=125&q=menu%20module',
                    ],
                ],
                'Menu Items' => [
                    [
                        'title' => 'Creating Menu Dividers',
                        'src' =>
                            'https://www.youtube-nocookie.com/watch?v=PVKV0B2fOOk&amp;list=PLrqT0WH0HPdPfykSwhMt6Jl2_RgJ6ixU-',
                        'duration' => '0:48',
                        'documentation' => 'support/yootheme-pro/joomla/menus#menu-divider',
                        'support' => 'support/search?tags=125&q=menu%20divider',
                    ],
                    [
                        'title' => 'Creating Menu Heading',
                        'src' =>
                            'https://www.youtube-nocookie.com/watch?v=mAWbl_Qyckg&amp;list=PLrqT0WH0HPdPfykSwhMt6Jl2_RgJ6ixU-',
                        'duration' => '0:50',
                        'documentation' => 'support/yootheme-pro/joomla/menus#menu-heading',
                        'support' => 'support/search?tags=125&q=menu%20heading',
                    ],
                    [
                        'title' => 'Creating Menu Text Items',
                        'src' =>
                            'https://www.youtube-nocookie.com/watch?v=RKY8qDgCTnc&amp;list=PLrqT0WH0HPdPfykSwhMt6Jl2_RgJ6ixU-',
                        'duration' => '1:43',
                        'documentation' => 'support/yootheme-pro/joomla/menus#menu-text-item',
                        'support' => 'support/search?tags=125&q=menu%20text%20item',
                    ],
                    [
                        'title' => 'Creating Accordion Menus',
                        'src' =>
                            'https://www.youtube-nocookie.com/watch?v=Kq87emJcq68&amp;list=PLrqT0WH0HPdPfykSwhMt6Jl2_RgJ6ixU-',
                        'duration' => '1:30',
                        'documentation' => 'support/yootheme-pro/joomla/menus#accordion-menu',
                        'support' => 'support/search?tags=125&q=accordion%20menu',
                    ],
                ],
            ],
        ],
    ],
    'panels' => [
        'menu-item' => [
            'fields' => [
                '_languageSwitcher' => [
                    'type' => 'fields',
                    'fields' => [
                        'language.dropdown' => [
                            'label' => 'Language Switcher',
                            'type' => 'checkbox',
                            'text' => 'Active language as parent item',
                            'default' => 1,
                        ],
                        'language.show_active' => [
                            'type' => 'checkbox',
                            'text' => 'Show active language in language list',
                            'default' => 1,
                        ],
                        'language.full_name' => [
                            'description' =>
                                'Show the active language as parent item and list all languages as its submenu items in a dropdown. Alternatively, show all languages as sibling items.',
                            'type' => 'checkbox',
                            'text' => 'Show full language names',
                            'default' => 1,
                        ],
                    ],
                    'show' => 'this.panel.item.link === \'#language-switcher\'',
                ],
            ],
        ],
    ],
];
