You are here

public function GroupContentTypeStorageInterface::loadByEntityTypeId in Group 2.0.x

Same name and namespace in other branches
  1. 8 src/Entity/Storage/GroupContentTypeStorageInterface.php \Drupal\group\Entity\Storage\GroupContentTypeStorageInterface::loadByEntityTypeId()

Retrieves group content types 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 types indexed by their IDs.

1 method overrides GroupContentTypeStorageInterface::loadByEntityTypeId()
GroupContentTypeStorage::loadByEntityTypeId in src/Entity/Storage/GroupContentTypeStorage.php
Retrieves group content types which could serve a given entity type.

File

src/Entity/Storage/GroupContentTypeStorageInterface.php, line 46

Class

GroupContentTypeStorageInterface
Defines an interface for group content type entity storage classes.

Namespace

Drupal\group\Entity\Storage

Code

public function loadByEntityTypeId($entity_type_id);