FluidTYPO3\Fluidpages\Tests\Unit\Backend\PageLayoutSelectorTest::getRenderInheritanceFieldTestValues PHP Method

getRenderInheritanceFieldTestValues() public method

    public function getRenderInheritanceFieldTestValues()
    {
        $normalPage = array('pid' => 123, 'is_siteroot' => 0);
        $rootPage = array('pid' => 1, 'is_siteroot' => 1);
        $pidZeroPage = array('pid' => 0, 'is_siteroot' => 1);
        return array(array(array(), array(), true), array(array('field' => 'tx_fed_page_controller_action', 'row' => $normalPage), array(), false), array(array('field' => 'tx_fed_page_controller_action', 'row' => $rootPage), array('siteRootInheritance' => false), true), array(array('field' => 'tx_fed_page_controller_action', 'row' => $rootPage), array('siteRootInheritance' => true), false), array(array('field' => 'tx_fed_page_controller_action_sub', 'row' => $normalPage), array(), false), array(array('field' => 'tx_fed_page_controller_action_sub', 'row' => $rootPage), array('siteRootInheritance' => false), true), array(array('field' => 'tx_fed_page_controller_action_sub', 'row' => $rootPage), array('siteRootInheritance' => true), false), array(array('field' => 'tx_fed_page_controller_action', 'row' => $pidZeroPage), array(), true), array(array('field' => 'tx_fed_page_controller_action', 'row' => $pidZeroPage), array('siteRootInheritance' => false), true), array(array('field' => 'tx_fed_page_controller_action', 'row' => $pidZeroPage), array('siteRootInheritance' => true), true), array(array('field' => 'tx_fed_page_controller_action_sub', 'row' => $pidZeroPage), array(), true), array(array('field' => 'tx_fed_page_controller_action_sub', 'row' => $pidZeroPage), array('siteRootInheritance' => false), true), array(array('field' => 'tx_fed_page_controller_action_sub', 'row' => $pidZeroPage), array('siteRootInheritance' => true), true));
    }