function InlineBlockTest::layoutNoSaveProvider

Same name in other branches
  1. 8.9.x core/modules/layout_builder/tests/src/FunctionalJavascript/InlineBlockTest.php \Drupal\Tests\layout_builder\FunctionalJavascript\InlineBlockTest::layoutNoSaveProvider()
  2. 10 core/modules/layout_builder/tests/src/FunctionalJavascript/InlineBlockTest.php \Drupal\Tests\layout_builder\FunctionalJavascript\InlineBlockTest::layoutNoSaveProvider()
  3. 11.x 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 186

Class

InlineBlockTest
Tests that the inline block feature works correctly.

Namespace

Drupal\Tests\layout_builder\FunctionalJavascript

Code

public 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.