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