private function ContentHubEntityExportControllerTest::getSampleCandidateEntities in Acquia Content Hub 8
Returns array of sample candidate entities.
Return value
array A set of sample candidate entities keyed by UUID.
See also
testExportEntities()
1 call to ContentHubEntityExportControllerTest::getSampleCandidateEntities()
- ContentHubEntityExportControllerTest::testExportEntities in tests/
src/ Unit/ Controller/ ContentHubEntityExportControllerTest.php - Tests exportEntities method.
File
- tests/
src/ Unit/ Controller/ ContentHubEntityExportControllerTest.php, line 445
Class
- ContentHubEntityExportControllerTest
- Unit test for ContentHubEntityExportController class.
Namespace
Drupal\Tests\acquia_contenthub\Unit\ControllerCode
private function getSampleCandidateEntities() {
list($taxonomy_term, $node, $user) = $this
->getBasicEntities();
return [
'00000000-0000-0000-0000-000000000001' => $taxonomy_term,
'00000000-0000-0000-0000-000000000002' => $node,
'00000000-0000-0000-0000-000000000003' => $user,
'00000000-0000-0000-0000-000000000004' => $user,
];
}