public static function GroupContentTypeInterface::loadByEntityTypeId in Group 8
Same name and namespace in other branches
- 2.0.x src/Entity/GroupContentTypeInterface.php \Drupal\group\Entity\GroupContentTypeInterface::loadByEntityTypeId()
Loads group content type entities which could serve a given entity type.
Parameters
string $entity_type_id: An entity type ID which may be served by one or more group content types.
Return value
\Drupal\group\Entity\GroupContentTypeInterface[] An array of group content type entities which serve the given entity.
1 method overrides GroupContentTypeInterface::loadByEntityTypeId()
- GroupContentType::loadByEntityTypeId in src/
Entity/ GroupContentType.php - Loads group content type entities which could serve a given entity type.
File
- src/
Entity/ GroupContentTypeInterface.php, line 77
Class
- GroupContentTypeInterface
- Provides an interface defining a group content type entity.
Namespace
Drupal\group\EntityCode
public static function loadByEntityTypeId($entity_type_id);