You are here

public static function GroupContentTypeInterface::loadByEntityTypeId in Group 2.0.x

Same name and namespace in other branches
  1. 8 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\Entity

Code

public static function loadByEntityTypeId($entity_type_id);