public function GroupContentTypeStorageInterface::loadByGroupType in Group 2.0.x
Same name and namespace in other branches
- 8 src/Entity/Storage/GroupContentTypeStorageInterface.php \Drupal\group\Entity\Storage\GroupContentTypeStorageInterface::loadByGroupType()
Retrieves all group content types for a group type.
Parameters
\Drupal\group\Entity\GroupTypeInterface $group_type: The group type to load the group content types for.
Return value
\Drupal\group\Entity\GroupContentTypeInterface[] An array of group content types indexed by their IDs.
1 method overrides GroupContentTypeStorageInterface::loadByGroupType()
- GroupContentTypeStorage::loadByGroupType in src/
Entity/ Storage/ GroupContentTypeStorage.php - Retrieves all group content types for a group type.
File
- src/
Entity/ Storage/ GroupContentTypeStorageInterface.php, line 22
Class
- GroupContentTypeStorageInterface
- Defines an interface for group content type entity storage classes.
Namespace
Drupal\group\Entity\StorageCode
public function loadByGroupType(GroupTypeInterface $group_type);