You are here

public function GroupMembershipUIController::__construct in Group 7

Class constructor.

Overrides EntityDefaultUIController::__construct

File

classes/group_membership.ui_controller.inc, line 29
Defines the Entity API UI class for group memberships.

Class

GroupMembershipUIController
UI class for group memberships.

Code

public function __construct($entity_type, $entity_info) {
  parent::__construct($entity_type, $entity_info);
  $this->profile_info = group_membership_profile_info();
  $this->profile_count = count($this->profile_info);
}