You are here

public function GroupCreationEvent::__construct in Organic groups 8

Constructs a GroupCreationEvent object.

Parameters

string $entity_type_id: The entity type ID of the group type.

string $bundle_id: The bundle ID of the group type.

File

src/Event/GroupCreationEvent.php, line 36

Class

GroupCreationEvent
The group creation event.

Namespace

Drupal\og\Event

Code

public function __construct($entity_type_id, $bundle_id) {
  $this->entityTypeId = $entity_type_id;
  $this->bundleId = $bundle_id;
}