$data['full disabled'
] =
[FALSE, 'full', FALSE
];
$data['_custom enabled'
] =
[FALSE, '_custom', TRUE
];
$data['_custom disabled'
] =
[FALSE, '_custom', FALSE
];
return $data;
} /**
* Tests that setting overridable enables Layout Builder only when TRUE.
*/
public function testSetOverridable() { // Disable Layout Builder.
$this->sectionList->
disableLayoutBuilder();
// Set Overridable to TRUE and ensure Layout Builder is enabled.
$this->sectionList->
setOverridable();
$this->
assertTrue($this->sectionList->
isLayoutBuilderEnabled());
// Ensure Layout Builder is still enabled after setting Overridable to FALSE.
$this->sectionList->
setOverridable(FALSE
);
$this->
assertTrue($this->sectionList->
isLayoutBuilderEnabled());
}}