protected function FlagListsService::getFlagForListByIds in Flag Lists 4.0.x
Same name and namespace in other branches
- 8 src/FlagListsService.php \Drupal\flag_lists\FlagListsService::getFlagForListByIds()
Loads Flag For Lists by ids.
Parameters
int[] $ids: The Ids of the Flag For Lists to load.
Return value
Drupal\flag_lists\Entity\FlagForList[] The loaded Flag For Lists.
1 call to FlagListsService::getFlagForListByIds()
- FlagListsService::getAllFlagForList in src/
FlagListsService.php - Get all Flag For List, i.e. all Flags tagged as available.
File
- src/
FlagListsService.php, line 185
Class
- FlagListsService
- Class FlagForList service.
Namespace
Drupal\flag_listsCode
protected function getFlagForListByIds(array $ids) {
return $this->entityTypeManager
->getStorage('flag_for_list')
->loadMultiple($ids);
}