You are here

public function SubformStateTest::providerGetValuesBroken in Drupal 8

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

Provides data to self::testGetValuesBroken().

File

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

Class

SubformStateTest
@coversDefaultClass \Drupal\Core\Form\SubformState

Namespace

Drupal\Tests\Core\Form

Code

public function providerGetValuesBroken() {
  $data = [];
  $data['exist'] = [
    [
      'foo',
    ],
    $this->formStateValues['foo'],
  ];
  $data['nested'] = [
    [
      'dog',
      'name',
    ],
    'Dodger',
  ];
  return $data;
}