<commit_before><?php

return [

    'layouts' => [
        'layouts.main'  => 'Main layout',
        'layouts.contacts' => 'Contacts layout'
    ],

    'channels' => [
        'blog'  => [
            "template" => 'channels.blog.index'
        ],
        'news'    => [
            'template' => 'channels.news.index'
        ],
        'reports' => [
            "template" => 'channels.reports.index'
        ],
    ],

    /**
     *
     * Example widgets that should help you to roll your own.
     * They can be deleted if you don't need them.
     *
     * Their main purpose is to demonstrate how to configure
     * fields and other options.
     *
     */
    'widgets' => [

        [
            'name'                => 'Large slider',
            'key'                 => 'large_slider',
            'frontend_template'   => 'widgets.large_slider.frontend',
            'backend_template'    => 'content::module_content.widgets.widget_blocks.backend',
            'backend_with_border' => false, // Depends on what kind of backend_template you have
            'backend_javascript'  => 'widget_blocks.js',
            'javascript_key'      => 'widget_blocks',
            'backend_css'         => 'widget_blocks.css',
            'backend_worker'      => \Modules\Content\Widgets\BackendWorkers\WidgetBlock::class,
            'fields'              => [
                'image'   => [
                    'type'   => 'file',
                    'label'  => 'Image',
                    'styles' => [
                        'image_width' => 300
                    ]
                ],
                'content' => [
                    'type'  => 'textarea',
                    'label' => 'Content'
                ]
            ]
        ],

        [
            'name'                => 'Employees',
            'key'                 => 'employees',
            'frontend_template'   => 'widgets.employees.frontend',
            'backend_template'    => 'content::module_content.widgets.widget_blocks.backend',
            'backend_with_border' => false, // Depends on what kind of backend_template you have
            'backend_javascript'  => 'widget_blocks.js',
            'javascript_key'      => 'widget_blocks',
            'backend_css'         => 'widget_blocks.css',
            'backend_worker'      => \Modules\Content\Widgets\BackendWorkers\WidgetBlock::class,
            'fields'              => [
                'title'    => [
                    'type'  => 'text',
                    'label' => 'Name'
                ],
                'subtitle' => [
                    'type'  => 'text',
                    'label' => 'Position'
                ],
                'content'  => [
                    'type'  => 'textarea',
                    'label' => 'Description'
                ],
                'linkedin' => [
                    'type'  => 'text',
                    'label' => 'Linkedin'
                ]
            ]
        ],

        [
            'name'                => 'Text with title',
            'key'                 => 'text_with_title',
            'frontend_template'   => 'widgets.text_with_title.frontend',
            'backend_template'    => 'content::module_content.widgets.simple_text.backend',
            'backend_with_border' => false, // Depends on what kind of backend_template you have
            'backend_javascript'  => 'simple_text.js',
            'javascript_key'      => 'simple_text',<commit_msg>Refactor - rename image_blocks to widget_blocks<commit_after><?php

return [

    'layouts' => [
        'layouts.main'  => 'Main layout',
        'layouts.contacts' => 'Contacts layout'
    ],

    'channels' => [
        'blog'  => [
            "template" => 'channels.blog.index'
        ],
        'news'    => [
            'template' => 'channels.news.index'
        ],
        'reports' => [
            "template" => 'channels.reports.index'
        ],
    ],

    /**
     *
     * Example widgets that should help you to roll your own.
     * They can be deleted if you don't need them.
     *
     * Their main purpose is to demonstrate how to configure
     * fields and other options.
     *
     */
    'widgets' => [

        [
            'name'                => 'Large slider',
            'key'                 => 'large_slider',
            'frontend_template'   => 'widgets.large_slider.frontend',
            'backend_template'    => 'content::module_content.widgets.widget_blocks.backend',
            'backend_with_border' => false, // Depends on what kind of backend_template you have
            'backend_javascript'  => 'widget_blocks.js',
            'javascript_key'      => 'widget_blocks',
            'backend_css'         => 'widget_blocks.css',
            'backend_worker'      => \Modules\Content\Widgets\BackendWorkers\WidgetBlock::class,
            'fields'              => [
                'image'   => [
                    'type'   => 'file',
                    'label'  => 'Image',
                    'styles' => [
                        'image_width' => 300
                    ]
                ],
                'content' => [
                    'type'  => 'textarea',
                    'label' => 'Content'
                ]
            ]
        ],

        [
            'name'                => 'Employees',
            'key'                 => 'employees',
            'frontend_template'   => 'widgets.employees.frontend',
            'backend_template'    => 'content::module_content.widgets.widget_blocks.backend',
            'backend_with_border' => false, // Depends on what kind of backend_template you have
            'backend_javascript'  => 'widget_blocks.js',
            'javascript_key'      => 'widget_blocks',
            'backend_css'         => 'widget_blocks.css',
            'backend_worker'      => \Modules\Content\Widgets\BackendWorkers\WidgetBlock::class,
            'fields'              => [
                'title'    => [
                    'type'  => 'text',
                    'label' => 'Name'
                ],
                'subtitle' => [
                    'type'  => 'text',
                    'label' => 'Position'
                ],
                'content'  => [
                    'type'  => 'textarea',
                    'label' => 'Description'
                ],
                'linkedin' => [
                    'type'  => 'text',
                    'label' => 'Linkedin'
                ]
            ]
        ],

        [
            'name'                => 'Text with title',
            'key'                 => 'text_with_title',
            'frontend_template'   => 'widgets.text_with_title.frontend',
            'backend_template'    => 'content::module_content.widgets.widget_blocks.backend',
            'backend_with_border' => false, // Depends on what kind of backend_template you have
            'backend_javascript'  => 'widget_blocks.js',
            'javascript_key'      => 'widget_blocks',
{'fraction_non_alphanumeric': 0.13112186788154898, 'fraction_numerical': 0.0008542141230068337, 'mean_word_length': 1.2337042925278219, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 119, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1255236', 'n_tokens_mistral': 1906, 'n_tokens_neox': 1808, 'n_words': 331}