You are here

public function GroupMembershipUIController::hook_forms in Group 7

Provides definitions for implementing hook_forms().

Overridden to limit the output.

Overrides EntityDefaultUIController::hook_forms

File

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

Class

GroupMembershipUIController
UI class for group memberships.

Code

public function hook_forms() {
  $forms['group_membership_overview_form'] = array(
    'callback' => 'entity_ui_overview_form',
    'wrapper_callback' => 'entity_ui_form_defaults',
  );
  $forms['group_membership_join_form'] = array(
    'callback' => 'group_membership_form',
  );
  $forms['group_membership_request_form'] = array(
    'callback' => 'group_membership_form',
  );
  return $forms;
}