function LayoutBuilderQuickEditTest::providerEnableDisableLayoutBuilder

Same name in other branches
  1. 8.9.x core/modules/layout_builder/tests/src/FunctionalJavascript/LayoutBuilderQuickEditTest.php \Drupal\Tests\layout_builder\FunctionalJavascript\LayoutBuilderQuickEditTest::providerEnableDisableLayoutBuilder()

DataProvider for testEnableDisableLayoutBuilder().

File

core/modules/quickedit/tests/src/FunctionalJavascript/LayoutBuilderQuickEditTest.php, line 189

Class

LayoutBuilderQuickEditTest
Tests that Layout Builder functions with Quick Edit.

Namespace

Drupal\Tests\quickedit\FunctionalJavascript

Code

public function providerEnableDisableLayoutBuilder() {
    return [
        'use revisions, not admin' => [
            TRUE,
        ],
        'do not use revisions, not admin' => [
            FALSE,
        ],
        'use revisions, admin' => [
            TRUE,
            TRUE,
        ],
        'do not use revisions, admin' => [
            FALSE,
            TRUE,
        ],
    ];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.