protected function FlagListsService::getFlaggingCollectionByIds in Flag Lists 8
Same name and namespace in other branches
- 4.0.x src/FlagListsService.php \Drupal\flag_lists\FlagListsService::getFlaggingCollectionByIds()
Loads Flagging Collections by ids.
Parameters
int[] $ids: The Ids of the Flag For Lists to load.
Return value
Drupal\flag_lists\Entity\FlaggingCollection The loaded Flagging Collections.
2 calls to FlagListsService::getFlaggingCollectionByIds()
- FlagListsService::getAllFlaggingCollections in src/
FlagListsService.php - Get all Flagging Collections.
- FlagListsService::getUsersFlaggingCollections in src/
FlagListsService.php - Get current user's Flagging Collections.
File
- src/
FlagListsService.php, line 204
Class
- FlagListsService
- Class FlagForList service.
Namespace
Drupal\flag_listsCode
protected function getFlaggingCollectionByIds(array $ids) {
return $this->entityTypeManager
->getStorage('flagging_collection')
->loadMultiple($ids);
}