protected function AcquiadamServiceTest::getFlattenedTopLevelFoldersData in Media: Acquia DAM 8
The flattened top level folder data.
Return value
array The array of flattened folders keyed by ID.
1 call to AcquiadamServiceTest::getFlattenedTopLevelFoldersData()
- AcquiadamServiceTest::testGetFlattenedFolderList in tests/
src/ Unit/ AcquiadamServiceTest.php - Tests that flattened folder output matches what is expected.
File
- tests/
src/ Unit/ AcquiadamServiceTest.php, line 139
Class
- AcquiadamServiceTest
- Acquia DAM REST extension tests.
Namespace
Drupal\Tests\media_acquiadam\UnitCode
protected function getFlattenedTopLevelFoldersData() {
return [
90672 => 'Marketing',
90673 => 'Slideshows',
90674 => 'Ad Ideas',
90786 => 'Sales',
90787 => 'Spreadsheets',
90788 => 'Logos',
90832 => 'Support',
];
}