public function FormStateTest::providerTestGetValue in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/tests/Drupal/Tests/Core/Form/FormStateTest.php \Drupal\Tests\Core\Form\FormStateTest::providerTestGetValue()
File
- core/
tests/ Drupal/ Tests/ Core/ Form/ FormStateTest.php, line 184 - Contains \Drupal\Tests\Core\Form\FormStateTest.
Class
- FormStateTest
- @coversDefaultClass \Drupal\Core\Form\FormState
Namespace
Drupal\Tests\Core\FormCode
public function providerTestGetValue() {
$data = array();
$data[] = array(
'foo',
'one',
);
$data[] = array(
array(
'bar',
'baz',
),
'two',
);
$data[] = array(
array(
'foo',
'bar',
'baz',
),
NULL,
);
$data[] = array(
'baz',
'baz',
'baz',
);
return $data;
}