Same name and namespace in other branches
  1. 8.9.x core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php \Drupal\Tests\Core\Form\FormStateDecoratorBaseTest::providerGetTemporaryValue()
  2. 9 core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php \Drupal\Tests\Core\Form\FormStateDecoratorBaseTest::providerGetTemporaryValue()

Provides data to self::testGetTemporaryValue().

File

core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php, line 703

Class

FormStateDecoratorBaseTest
@coversDefaultClass \Drupal\Core\Form\FormStateDecoratorBase

Namespace

Drupal\Tests\Core\Form

Code

public static function providerGetTemporaryValue() {
  return [
    [
      TRUE,
      'FOO',
      'BAR',
    ],
    [
      TRUE,
      'FOO',
      NULL,
    ],
  ];
}