You are here

public function GroupTypeManagerInterface::isGroup in Organic groups 8

Determines whether an entity type ID and bundle ID are group enabled.

Parameters

string $entity_type_id: The entity type name.

string $bundle: The bundle name.

Return value

bool TRUE if a bundle is a group.

1 method overrides GroupTypeManagerInterface::isGroup()
GroupTypeManager::isGroup in src/GroupTypeManager.php
Determines whether an entity type ID and bundle ID are group enabled.

File

src/GroupTypeManagerInterface.php, line 23

Class

GroupTypeManagerInterface
Interface for services intended to help managing groups.

Namespace

Drupal\og

Code

public function isGroup($entity_type_id, $bundle);