You are here

public static function Og::removeGroup in Organic groups 8

Removes an entity type instance as being an OG group.

Parameters

string $entity_type_id: The entity type.

string $bundle_id: The bundle name.

Return value

bool True or false if the action succeeded.

File

src/Og.php, line 300

Class

Og
A static helper class for OG.

Namespace

Drupal\og

Code

public static function removeGroup($entity_type_id, $bundle_id) {
  return static::groupTypeManager()
    ->removeGroup($entity_type_id, $bundle_id);
}