public function GroupTypeManagerInterface::getGroupBundleIdsByEntityType in Organic groups 8
Returns the group of an entity type.
Parameters
string $entity_type_id: The entity type name.
Return value
\Drupal\Core\Entity\EntityInterface[] Array of groups, or an empty array if none found
1 method overrides GroupTypeManagerInterface::getGroupBundleIdsByEntityType()
- GroupTypeManager::getGroupBundleIdsByEntityType in src/
GroupTypeManager.php - Returns the group of an entity type.
File
- src/
GroupTypeManagerInterface.php, line 50
Class
- GroupTypeManagerInterface
- Interface for services intended to help managing groups.
Namespace
Drupal\ogCode
public function getGroupBundleIdsByEntityType($entity_type_id);