You are here

public function InlineBlockTest::layoutNoSaveProvider in Drupal 9

Same name and namespace in other branches
  1. 8 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 179

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',
    ],
  ];
}