public function Collection::getExport in Openlayers 7.3
Get the collection as an export array with id's instead of objects.
Return value
array The export array.
File
- src/
Types/ Collection.php, line 206 - Class Collection.
Class
- Collection
- Class Collection.
Namespace
Drupal\openlayers\TypesCode
public function getExport() {
$export = array();
foreach ($this
->getFlatList() as $object) {
$export[$object
->getType()][] = $object
->getMachineName();
}
return array_change_key_case($export, CASE_LOWER);
}