Magento Extensions Rating 2024
EXTENSIONS BY CATEGORY
B2B (Business-To-Business)
Blog
Customer
ERP (Enterprise Resource Planning)
Mega Menu
One Step Checkout
Order
POS (Point Of Sale)
Search
Shopping Cart
Sitemap
SEO
Social
Stock & Inventory Management
EXTENSIONS BY DEVELOPER
aheadWorks
Amasty
Boost My Shop
BSS Commerce
Magestore
MageWorx
Mirasvit
Templates Master
Wyomind
XTENTO
Magento 2 Documentation
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
vendor
magento
module-cms
Test
Unit
Model
Page
Source
CustomLayoutTest.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Cms\Test\Unit\Model\Page\Source
;
7
8
use
Magento\Framework\TestFramework\Unit\Helper\ObjectManager
as ObjectManagerHelper;
9
10
class
CustomLayoutTest
extends
PageLayoutTest
11
{
15
protected
function
getSourceClassName
()
16
{
17
return \Magento\Cms\Model\Page\Source\CustomLayout::class;
18
}
19
23
public
function
getOptionsDataProvider
()
24
{
25
return
[
26
[
27
[],
28
[[
'label'
=>
'Default'
,
'value'
=>
''
]],
29
],
30
[
31
[
'testStatus'
=>
'testValue'
],
32
[[
'label'
=>
'Default'
,
'value'
=>
''
], [
'label'
=>
'testValue'
,
'value'
=>
'testStatus'
]],
33
],
34
];
35
}
36
}
Magento\Cms\Test\Unit\Model\Page\Source\PageLayoutTest
Definition:
PageLayoutTest.php:13
Magento\Cms\Test\Unit\Model\Page\Source\CustomLayoutTest\getOptionsDataProvider
getOptionsDataProvider()
Definition:
CustomLayoutTest.php:23
Magento\Cms\Test\Unit\Model\Page\Source\CustomLayoutTest
Definition:
CustomLayoutTest.php:10
Magento\Cms\Test\Unit\Model\Page\Source\CustomLayoutTest\getSourceClassName
getSourceClassName()
Definition:
CustomLayoutTest.php:15
Magento\Framework\TestFramework\Unit\Helper\ObjectManager
Definition:
ObjectManager.php:13
Magento\Cms\Test\Unit\Model\Page\Source
Definition:
CustomLayoutTest.php:6