public function GroupTypeManagerInterface::isGroupContent in Organic groups 8
Checks if the given entity bundle is group content.
This is provided as a convenient sister method to ::isGroup(). It is a simple wrapper for OgGroupAudienceHelperInterface::hasGroupAudienceField().
Parameters
string $entity_type_id: The entity type ID.
string $bundle: The bundle name.
Return value
bool TRUE if the entity bundle is group content.
1 method overrides GroupTypeManagerInterface::isGroupContent()
- GroupTypeManager::isGroupContent in src/
GroupTypeManager.php - Checks if the given entity bundle is group content.
File
- src/
GroupTypeManagerInterface.php, line 39
Class
- GroupTypeManagerInterface
- Interface for services intended to help managing groups.
Namespace
Drupal\ogCode
public function isGroupContent($entity_type_id, $bundle);