You are here

public function GroupRoleUIController::__construct in Group 7

Class constructor.

Overrides EntityDefaultUIController::__construct

File

classes/group_role.ui_controller.inc, line 36
Defines the Entity API UI class for group roles.

Class

GroupRoleUIController
UI class for group roles.

Code

public function __construct($entity_type, $entity_info) {
  parent::__construct($entity_type, $entity_info);

  // By default we show the global UI and tabledrag.
  $this->global_ui = TRUE;
  $this->tabledrag = TRUE;

  // We assume roles that were not imported along with a group type.
  $this->type_fixed = FALSE;
}