You are here

public function SubformStateTest::providerTestGetValue in Drupal 10

Same name and namespace in other branches
  1. 8 core/tests/Drupal/Tests/Core/Form/SubformStateTest.php \Drupal\Tests\Core\Form\SubformStateTest::providerTestGetValue()
  2. 9 core/tests/Drupal/Tests/Core/Form/SubformStateTest.php \Drupal\Tests\Core\Form\SubformStateTest::providerTestGetValue()

Provides data to self::testGetValue().

File

core/tests/Drupal/Tests/Core/Form/SubformStateTest.php, line 152

Class

SubformStateTest
@coversDefaultClass \Drupal\Core\Form\SubformState

Namespace

Drupal\Tests\Core\Form

Code

public function providerTestGetValue() {
  $data = [];
  $data['exist'] = [
    [
      'dog',
    ],
    'name',
    'Dodger',
  ];
  return $data;
}