public function FlagListsService::getFlagListItems in Flag Lists 4.0.x
Same name and namespace in other branches
- 8 src/FlagListsService.php \Drupal\flag_lists\FlagListsService::getFlagListItems()
Get Flag List Items.
Parameters
int[] $ids: The Flag List Item ids to load.
Return value
Drupal\flag_lists\Entity\FlagListItem[] An array of Flag List Items.
File
- src/
FlagListsService.php, line 264
Class
- FlagListsService
- Class FlagForList service.
Namespace
Drupal\flag_listsCode
public function getFlagListItems(array $ids) {
return $this->entityTypeManager
->getStorage('flag_list_item')
->loadMultiple($ids);
}