Spamworldpro Mini Shell
Spamworldpro


Server : Apache
System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64
User : corals ( 1002)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /home/corals/old/vendor/magento/module-widget/Test/Unit/Model/_files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/corals/old/vendor/magento/module-widget/Test/Unit/Model/_files/mappedConfigArray1.php
<?php declare(strict_types=1);

use Magento\Cms\Block\Adminhtml\Page\Widget\Chooser;
use Magento\Cms\Block\Widget\Page\Link;

/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */
return [
    '@' => ['type' => Link::class, 'module' => 'Magento_Cms'],
    'name' => 'CMS Page Link',
    'description' => 'Link to a CMS Page',
    'is_email_compatible' => '1',
    'placeholder_image' => 'Magento_Cms::images/widget_page_link.png',
    'parameters' => [
        'page_id' => [
            '@' => ['type' => 'complex'],
            'type' => 'label',
            'helper_block' => [
                'type' => Chooser::class,
                'data' => ['button' => ['open' => 'Select Page...']],
            ],
            'visible' => '1',
            'required' => '1',
            'sort_order' => '10',
            'label' => 'CMS Page',
        ],
        'anchor_text' => [
            'type' => 'text',
            'visible' => '1',
            'label' => 'Anchor Custom Text',
            'description' => 'If empty, the Page Title will be used',
            'depends' => ['show_pager' => ['value' => '1']],
        ],
        'template' => [
            'type' => 'select',
            'values' => [
                'default' => [
                    'value' => 'product/widget/link/link_block.phtml',
                    'label' => 'Product Link Block Template',
                ],
                'link_inline' => [
                    'value' => 'product/widget/link/link_inline.phtml',
                    'label' => 'Product Link Inline Template',
                ],
            ],
            'visible' => '1',
            'label' => 'Template',
            'value' => 'product/widget/link/link_block.phtml',
        ],
    ],
    'supported_containers' => [
        '0' => [
            'container_name' => 'left',
            'template' => ['default' => 'default', 'names_only' => 'link_inline'],
        ],
        '1' => ['container_name' => 'content', 'template' => ['grid' => 'default', 'list' => 'list']],
    ]
];

Spamworldpro Mini