function InlineBlockTest::layoutNoSaveProvider

Same name in other branches
  1. 9 core/modules/layout_builder/tests/src/FunctionalJavascript/InlineBlockTest.php \Drupal\Tests\layout_builder\FunctionalJavascript\InlineBlockTest::layoutNoSaveProvider()
  2. 8.9.x core/modules/layout_builder/tests/src/FunctionalJavascript/InlineBlockTest.php \Drupal\Tests\layout_builder\FunctionalJavascript\InlineBlockTest::layoutNoSaveProvider()
  3. 10 core/modules/layout_builder/tests/src/FunctionalJavascript/InlineBlockTest.php \Drupal\Tests\layout_builder\FunctionalJavascript\InlineBlockTest::layoutNoSaveProvider()

Provides test data for ::testNoLayoutSave().

File

core/modules/layout_builder/tests/src/FunctionalJavascript/InlineBlockTest.php, line 189

Class

InlineBlockTest
Tests that the inline block feature works correctly.

Namespace

Drupal\Tests\layout_builder\FunctionalJavascript

Code

public static function layoutNoSaveProvider() {
    return [
        'discard_changes' => [
            'discard_changes',
            'Discard changes',
            'Confirm',
        ],
        'revert' => [
            'revert',
            'Revert to defaults',
            'Revert',
        ],
    ];
}

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