Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
CustomLayoutTest.php
Go to the documentation of this file.
1 <?php
7 
9 
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 }