You are here

public function FlagListsService::getAllFlaggingCollectionTypes in Flag Lists 4.0.x

Load all Flagging Collection Types.

Return value

Drupal\flag_lists\Entity\FlaggingCollectionType The loaded Flagging Collection Type

File

src/FlagListsService.php, line 221

Class

FlagListsService
Class FlagForList service.

Namespace

Drupal\flag_lists

Code

public function getAllFlaggingCollectionTypes() {
  return $this->entityTypeManager
    ->getStorage('flagging_collection_type')
    ->loadMultiple();
}