public function DisplayVariantTest::providerTestGetConfiguration in Drupal 10
Same name and namespace in other branches
- 8 core/tests/Drupal/Tests/Core/Display/DisplayVariantTest.php \Drupal\Tests\Core\Display\DisplayVariantTest::providerTestGetConfiguration()
- 9 core/tests/Drupal/Tests/Core/Display/DisplayVariantTest.php \Drupal\Tests\Core\Display\DisplayVariantTest::providerTestGetConfiguration()
Provides test data for testGetConfiguration().
File
- core/
tests/ Drupal/ Tests/ Core/ Display/ DisplayVariantTest.php, line 88
Class
- DisplayVariantTest
- @coversDefaultClass \Drupal\Core\Display\VariantBase @group Display
Namespace
Drupal\Tests\Core\DisplayCode
public function providerTestGetConfiguration() {
$data = [];
$data[] = [
[],
[
'id' => 'test',
'label' => '',
'uuid' => '',
'weight' => 0,
],
];
$data[] = [
[
'label' => 'Test',
],
[
'id' => 'test',
'label' => 'Test',
'uuid' => '',
'weight' => 0,
],
];
$data[] = [
[
'id' => 'foo',
],
[
'id' => 'test',
'label' => '',
'uuid' => '',
'weight' => 0,
],
];
return $data;
}