public function ConfigEntityTranslationTest::configEntityTranslationsDataProvider in Acquia Content Hub 8.2
Data provider for testConfigEntityTranslations.
Return value
array Data provider set.
File
- tests/
src/ Kernel/ ConfigEntityTranslationTest.php, line 116
Class
- ConfigEntityTranslationTest
- Tests that config entities are properly translated.
Namespace
Drupal\Tests\acquia_contenthub\KernelCode
public function configEntityTranslationsDataProvider() {
return [
[
1,
[
[
'type' => 'node_type',
'uuid' => '06bddad6-c004-414f-802a-eade9b2624b6',
],
],
'node_type',
'06bddad6-c004-414f-802a-eade9b2624b6',
],
[
2,
[
[
'type' => 'block',
'uuid' => '5067cba4-44ba-4e70-ba99-5626343c6b41',
],
],
'block',
'5067cba4-44ba-4e70-ba99-5626343c6b41',
],
[
3,
[
[
'type' => 'taxonomy_vocabulary',
'uuid' => 'b6249a32-8c37-4d24-a0f9-c8a4d40a410a',
],
],
'taxonomy_vocabulary',
'b6249a32-8c37-4d24-a0f9-c8a4d40a410a',
],
[
4,
[
[
'type' => 'menu',
'uuid' => '33e106d4-b365-4bb1-b44f-8beeecb4616f',
],
],
'menu',
'33e106d4-b365-4bb1-b44f-8beeecb4616f',
],
[
5,
[
[
'type' => 'user_role',
'uuid' => 'b7a60b03-3ae2-4480-b261-f72021817346',
],
],
'user_role',
'b7a60b03-3ae2-4480-b261-f72021817346',
],
[
6,
[
[
'type' => 'view',
'uuid' => '0204f032-73dd-4d0f-83df-019631d86563',
],
],
'view',
'0204f032-73dd-4d0f-83df-019631d86563',
],
];
}